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.


Top ↑

Source

File: wp-includes/class-wp-term-query.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.