apply_filters( 'ep_facet_post_type_value_accessible_label', $label, $item ) → {string}
Filter the accessible label for an individual facet post-type 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 post-type value accessible label. |
$item |
array | Value array. It contains |
- Since:
- 4.6.0
- Source:
Returns:
Individual facet term accessible label.
- Type
- string