Browsing hooks for feature: Jetpack Search


    hook (action): Fires after a search query request has failed

    Source: modules/search/class-jetpack-instant-search.php:305


    hook (action): 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: modules/search/class-jetpack-instant-search.php:348


    hook (filter): Modify the search query parameters, such as controlling the post_type.<p>These arguments are in the format of WP_Query arguments</p> View Example

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


    hook (filter): Modify the underlying ES query that is passed to the search endpoint. The returned args must represent a valid ES query<p>This filter is harder to use if you're unfamiliar with ES, but allows complete control over the query</p>

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


    hook (filter): Modify the query var to use for a given taxonomy

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