Determine whether a given WP_Query should be handled by ElasticSearch.
Parameters
- $should_handle
bool Should be handled by Jetpack Search.
- $query
WP_Query The WP_Query object.
Changelog
- Introduced in Jetpack 5.6.0
jetpack_search_should_handle_queryDetermine whether a given WP_Query should be handled by ElasticSearch.
boolShould be handled by Jetpack Search.
WP_QueryThe WP_Query object.