Taxonomy Filters Value Filter

bh_sl_filter_vals_”taxonomy”

Description

Filter the filter values of a specific taxonomy prior to being output. This can be useful if you want to limit the number of available options associated with a taxonomy filter on the front-end or remove a value as an option.

Parameters

Name Type Description
$filter_vals array Filter values.

Example

The following example removes Tennis from the default locations taxonomy (bh_sl_loc_cat).