Filter: ep_facet_meta_value_html

apply_filters( 'ep_facet_meta_value_html', $html, $item, $url ) → {string}

Filter the HTML for an individual facet meta value.

For term search to work correctly the outermost wrapper of the term HTML must have data-term-name and data-term-slug attributes set to lowercase versions of the term name and slug respectively.

Parameters:
Name Type Description
$html string

Facet meta value HTML.

$item array

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

$url string

Filter URL.

Since:
  • 4.3.0
Source:
Returns:

Individual facet meta value HTML.

Type
string