Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 2.6


This action is fired once SWP_Query has found results, it is the last action to fire during this process. It is most useful when removing hooks you’ve put in place when using SWP_Query.

add_action( 'searchwp_swp_query_shutdown', function() {
// SWP_Query has found results and is shutting down
view raw functions.php hosted with ❤ by GitHub
Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP