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

Documentation

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

Available since: 2.7.1

searchwp_stats_after_query

View Parameters »

This action fires after each query is output when building a stats table.

<?php
add_action( 'searchwp_stats_after_query', function() {
echo 'After search query';
}, 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

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