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