Created
April 26, 2019 15:15
-
-
Save jchristopher/03a06843f2782442da843cc91197950f to your computer and use it in GitHub Desktop.
Prevent SearchWP from automatically highlighting excerpts
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 automatically highlighting excerpts. | |
add_filter( 'searchwp_th_auto_filter_excerpt', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment