Created
February 14, 2019 17:22
-
-
Save jchristopher/21e17a2c0344e133abe96deb1f0a62ae to your computer and use it in GitHub Desktop.
Tell SearchWP to use a span instead of mark 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 a span instead of mark when highlighting. | |
add_filter( 'searchwp_th_use_span', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment