Created
January 5, 2018 16:24
-
-
Save jchristopher/4b1cbb860c6606080a99887111681de2 to your computer and use it in GitHub Desktop.
Using searchwp_swp_query_shutdown
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_action( 'searchwp_swp_query_shutdown', function() { | |
// SWP_Query has found results and is shutting down | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment