-
-
Save searchwpgists/7daf1db2fd2293a3d09137f037d96d46 to your computer and use it in GitHub Desktop.
Decrease SearchWP Stopword suggestion threshold to return more Stopword suggestions.
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 | |
// Decrease SearchWP Stopword suggestion threshold to return more Stopword suggestions. | |
add_filter( 'searchwp\stopwords\suggestions\threshold', function( $threshold ) { | |
return 0.2; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment