In this article

action

did_jetpack_search_query

Fires after a search request has been performed. Includes the following info in the $query parameter: 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

Parameters

$query
array

Array of information about the query performed

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.