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