Created
April 26, 2019 15:28
-
-
Save jchristopher/7d175725a0d09e88ebe927dd14af8dac to your computer and use it in GitHub Desktop.
Tell SearchWP to use partial matches when highlighting
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 | |
// Tell SearchWP to use partial matches when highlighting. | |
add_filter( 'searchwp_th_partial_matches', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment