Filter: ep_facet_post_type_size

apply_filters( 'ep_facet_post_type_size', $size, $post_types ) → {int}

Filter the number of different values (and their count) for post types returned by Elasticsearch.

Parameters:
Name Type Description
$size int

The number of different values. Default: 10000

$post_types array

Post types

Since:
  • 4.6.0
Source:
Returns:

The new number of different values

Type
int