apply_filters ( 'jetpack_search_should_handle_query', bool $should_handle, WP_Query $query )

Determine whether a given WP_Query should be handled by ElasticSearch.

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

View in GitHub

Parameters

$should_handle

(bool) Should be handled by Jetpack Search.

$query

(WP_Query) The WP_Query object.


Changelog

Since: Jetpack 5.6.0


Notes

Have a note to contribute?

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

WordPress.com Logo

You are commenting using your WordPress.com 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