-
-
Save searchwpgists/d97ac31e9c57fab6c5dfc377753314e4 to your computer and use it in GitHub Desktop.
Disable SearchWP's "Did you mean?" functionality
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 | |
// Disable SearchWP's "Did you mean?" functionality. | |
add_filter( 'searchwp\query\partial_matches\did_you_mean', function( $enabled, $args ) { | |
return false; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment