-
-
Save searchwpgists/e7a90d25dd96b30755c571bd0c2eb515 to your computer and use it in GitHub Desktop.
Customize the minimum length of fuzzy match tokens in SearchWP
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 | |
// Customize the minimum length of fuzzy match tokens in SearchWP. | |
add_filter( 'searchwp\query\partial_matches\fuzzy\minimum_length', function( $length ) { | |
return 5; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment