SearchWP

This Documentation is for SearchWP Version 3

Available since: 2.7.1

searchwp_stats_before_count

View Parameters »

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

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

Parameters

Parameter Type Description
$query String

The search query

$args Array

The arguments associated with the query, namely the engine used

[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]
[wpforms id="3080"]