Filter: ep_facet_wp_query_aggs_facet

apply_filters( 'ep_facet_wp_query_aggs_facet', $facets ) → {array}

Filter facet aggregations.

This is used by facet types to add their own aggregations to the general facet.

Parameters:
Name Type Description
$facets array

Facets aggregations

Since:
  • 4.3.0
Source:
Returns:

New facets aggregations

Type
array