Last active
April 27, 2020 14:20
-
-
Save jchristopher/e6f8ce2b8d8761395c43f2c0f5cbe5f1 to your computer and use it in GitHub Desktop.
Enable regex pattern match tokenization in SearchWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Enable regex pattern match tokenization in SearchWP. | |
add_filter( 'searchwp\tokens\tokenize_pattern_matches', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment