apply_filters( 'ep_elasticpress_enabled', $enabled, $query ) → {bool}
Determine if ElasticPress should integrate with a query
Parameters:
Name | Type | Description |
---|---|---|
$enabled |
bool | Whether to integrate with Elasticsearch or not |
$query |
WP_Query | WP_Query to evaluate |
- Source:
Returns:
Enabled value
- Type
- bool