Filter: ep_facet_taxonomy_value_html

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

Filter the HTML for an individual facet post-type 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 post-type value HTML.

$item array

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

$url string

Filter URL.

Since:
  • 4.7.0
Source:
Returns:

Individual facet taxonomy value HTML.

Type
string