SearchWP

This Documentation is for SearchWP Version 3

Available since: 2.6

searchwp_swp_query_shutdown

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.

<?php
add_action( 'searchwp_swp_query_shutdown', function() {
// SWP_Query has found results and is shutting down
});
view raw functions.php hosted with ❤ by GitHub
[wpforms id="3080"]