Created
March 23, 2020 19:33
-
-
Save jchristopher/b3dd6ba66587cdd2f3038a70a7dc727a to your computer and use it in GitHub Desktop.
Disable SearchWP's fuzzy logic when performing partial matches
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 | |
// Disable SearchWP's fuzzy logic when performing partial matches. | |
add_filter( 'searchwp\query\partial_matches\fuzzy', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment