Last active
June 20, 2020 03:29
-
-
Save jchristopher/ed533389b441b25385d83f59156d93a4 to your computer and use it in GitHub Desktop.
Allow partial regex pattern matches to be considered 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 | |
// Allow partial regex pattern matches to be considered in SearchWP. | |
add_filter( 'searchwp\tokens\regex_patterns\only_full_matches', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment