Filter: ep_facet_renderer_class

apply_filters( 'ep_facet_renderer_class', $classname, $facet_type, $context, $attributes ) → {string}

Filter the class name to be used to render the Facet.

Parameters:
Name Type Description
$classname string

The name of the class to be instantiated and used as a renderer.

$facet_type string

The type of the facet.

$context string

Context where the renderer will be used: block or widget, for example.

$attributes array

Element attributes.

Since:
  • 4.3.0
Source:
Returns:

The name of the class

Type
string