Last active
June 20, 2020 03:26
-
-
Save jchristopher/0c192628c15c4baf3096f86a0d28ee0a to your computer and use it in GitHub Desktop.
Tell SearchWP to skip rule application for regex pattern matches
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 skip rule application for regex pattern matches. | |
add_filter( 'searchwp\tokens\apply_rules_to_pattern_matches', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment