Created
April 26, 2019 15:41
-
-
Save jchristopher/b96d4b3c222fa3b4b01dc120ac11b3bf to your computer and use it in GitHub Desktop.
Tell SearchWP to use <span> for highlights instead of <mark>
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 <span> for highlights instead of <mark>. | |
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