Filter: ep_facet_should_check_if_allowed

apply_filters( 'ep_facet_should_check_if_allowed', $should_check ) → {string}

Filter if EP should only filter by fields selected in facets. Defaults to true.

Parameters:
Name Type Description
$should_check bool

Whether it should or not check fields

Since:
  • 4.5.1
Source:
Returns:

New value

Type
string

apply_filters( 'ep_facet_should_check_if_allowed', $should_check ) → {string}

Filter if EP should only filter by fields selected in facets. Defaults to true.

Parameters:
Name Type Description
$should_check bool

Whether it should or not check fields

Since:
  • 4.5.1
Source:
Returns:

New value

Type
string