do_action ( 'did_jetpack_search_query', array $query )

Fires after a search request has been performed.<p>Includes the following info in the $query parameter:</p> <p>array args Array of Elasticsearch arguments for the search array response Raw API response, JSON decoded int response_code HTTP response code of the request float elapsed_time Roundtrip time of the search request, in milliseconds float es_time Amount of time Elasticsearch spent running the request, in milliseconds string url API url that was queried</p>

Source file: modules/search/class.jetpack-search.php

View in GitHub



(array) Array of information about the query performed


Since: Jetpack 5.0.0


Have a note to contribute?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s