apply_filters( 'ep_facet_agg_filters', $query_args, $args, $query ) → {array}
Filter WP query arguments that will be used to build the aggregations filter.
The returned $query_args
will be used to build the aggregations filter passing
it through Indexable\Post\Post::format_args()
.
Parameters:
Name | Type | Description |
---|---|---|
$query_args |
array | Query arguments |
$args |
array | ES arguments |
$query |
array | WP Query instance |
- Since:
- 4.3.0
- Source:
Returns:
New facets aggregations
- Type
- array