Created
March 24, 2020 16:06
-
-
Save jchristopher/f191cbe9b735a9f7d034335acd21d1a8 to your computer and use it in GitHub Desktop.
Tell SearchWP not to use a wildcard prefix when performing partial match logic
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 | |
// Tell SearchWP not to use a wildcard prefix when performing partial match logic. | |
add_filter( 'searchwp\query\partial_matches\wildcard_after', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment