Filter: ep_facet_meta_value_accessible_label

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

Filter the accessible label for an individual facet meta value link.

Used as the aria-label attribute for filter links. The accessible label should include additional context around what action will be performed by visiting the link, such as whether the filter will be added or removed.

Parameters:
Name Type Description
$label string

Facet meta value accessible label.

$item array

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

Since:
  • 4.3.0
Source:
Returns:

Individual facet term accessible label.

Type
string