Created
September 17, 2018 16:25
-
-
Save jchristopher/b85785e3ca2cfef6a3afe69c7250e0a1 to your computer and use it in GitHub Desktop.
Control whether SearchWP uses the keyword stem when finding LIKE terms
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 | |
// Control whether SearchWP uses the keyword stem when finding LIKE terms. | |
function my_searchwp_like_stem( $stem, $terms, $engine ) { | |
// Return true/false (default is false) | |
} | |
add_filter( 'searchwp_like_stem', 'my_searchwp_like_stem', 10, 3 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment