Filter: ep_{$indexable_slug}_all_distinct_values

apply_filters( 'ep_{$indexable_slug}_all_distinct_values', $size, $field ) → {string}

Filter the max. number of different distinct values to be returned by Elasticsearch.

Parameters:
Name Type Description
$size int

The number of different values. Default: 10000

$field string

The meta field

Since:
  • 4.3.0
Source:
Returns:

The new number of different values

Type
string