This Documentation is for SearchWP Version 3

Available since: 2.7.1


View Parameters »

This action fires before each count is output when building a stats table.

add_action( 'searchwp_stats_before_count', function() {
echo 'Before search count';
}, 10, 2 );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$query String

The search query

$args Array

The arguments associated with the query, namely the engine used