Created
January 29, 2018 13:41
-
-
Save jchristopher/25d89436bde800f03bb458330c857da5 to your computer and use it in GitHub Desktop.
Tell SWP_Query to also take into account all searchwp_include filters
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 SWP_Query to also take into account all searchwp_include filters | |
add_filter( 'searchwp_swp_query_post__in_explicit', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment