Created
April 24, 2019 13:34
-
-
Save jchristopher/8a51722e584a024c68acd81c004614a6 to your computer and use it in GitHub Desktop.
Increase SearchWP's fuzzy matching threshold
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 | |
// Increase SearchWP's fuzzy matching threshold. | |
add_filter( 'searchwp_fuzzy_threshold', function( $threshold ) { | |
return 80; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment