Created
January 22, 2014 14:05
-
-
Save jchristopher/8559261 to your computer and use it in GitHub Desktop.
Tell SearchWP to let WordPress run it's native search query even though the results will be replaced with SearchWP's results
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 | |
add_filter( 'searchwp_force_wp_query', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment