list_terms_exclusions WordPress Filter Hook
The list_terms_exclusions hook is used to exclude terms from the term lists generated by the WordPress core.
apply_filters( 'list_terms_exclusions', string $exclusions , array $args , string[] $taxonomies ) #
Filters the terms to exclude from the terms query.
Parameters
- $exclusions
(string)
NOT IN
clause of the terms query.- $args
(array)An array of terms query arguments.
- $taxonomies
(string[])An array of taxonomy names.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |