Created
April 24, 2019 18:36
-
-
Save jchristopher/0c29a26419a2995e362c3a89b10c0a12 to your computer and use it in GitHub Desktop.
Prevent SearchWP from using a wildcard before search terms when finding partial matches
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 | |
// Prevent SearchWP from using a wildcard before search terms when finding partial matches. | |
add_filter( 'searchwp_like_wildcard_before', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment