-
-
Save searchwpgists/936723d07abd71094779131201927a4d 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