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