Created
February 14, 2019 17:31
-
-
Save jchristopher/2b3c5b0e43b0c02b74ea07fa6eed5a4d to your computer and use it in GitHub Desktop.
Prevent SearchWP from stripping 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 stripping Shortcodes when highlighting. | |
apply_filters( 'searchwp_th_strip_shortcodes', '__reeturn_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment