Available since: 2.7.1
searchwp_stats_before_query
View Parameters »This action fires before each query is output when building a stats table.
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_stats_before_query', function() { | |
echo 'Before search query'; | |
}, 10, 2 ); |
Parameters
Parameter | Type | Description |
---|---|---|
$query |
String |
The search query |
$args |
Array |
The arguments associated with the query, namely the |