Filter: ep_facet_sync_aggregations_to_global

apply_filters( 'ep_facet_sync_aggregations_to_global', $sync, $query ) → {bool}

Filter whether to sync query aggregations to global variable

Parameters:
Name Type Description
$sync bool

Whether to sync (default: false)

$query WP_Query

The query object

Since:
  • 5.3.0
Source:
Returns:

Whether to sync aggregations to global variable

Type
bool