Filter: ep_facet_post_type_value_label

apply_filters( 'ep_facet_post_type_value_label', $label, $item ) → {string}

Filter the label for an individual post-type value.

Parameters:
Name Type Description
$label string

Facet post-type value label.

$item array

Value array. It contains value, name, count, and is_selected.

Since:
  • 4.6.0
Source:
Returns:

Individual facet post-type value label.

Type
string