On this page
apply_filters( 'list_terms_exclusions', string $exclusions, array $args, string[] $taxonomies )
Filters the terms to exclude from the terms query.
Parameters
$exclusionsstring-
NOT INclause of the terms query. $argsarray-
An array of terms query arguments.
$taxonomiesstring[]-
An array of taxonomy names.
Source
File: wp-includes/class-wp-term-query.php. View all references
$exclusions = apply_filters( 'list_terms_exclusions', $exclusions, $args, $taxonomies );
Related
Used By
| Used By | Description |
|---|---|
| WP_Term_Query::get_terms() wp-includes/class-wp-term-query.php | Retrieves the query results. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/list_terms_exclusions