Filter: ep_facet_widget_term_label

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

Filter the label for an individual facet term.

Parameters:
Name Type Description
$label string

Facet term label.

$item WP_Term

Term object.

$selected boolean

Whether the term is selected.

Since:
  • 3.6.3
Source:
Returns:

Individual facet term label.

Type
string