-
-
Save searchwpgists/79b08405dfd94db07d9263ebe19ffd47 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