list_terms_exclusions
apply_filters( ‘list_terms_exclusions’, string $exclusions , array $args , string[] $taxonomies )
筛选钩子:筛选要从术语查询中排除的术语。
Filter Hook: Filters the terms to exclude from the terms query.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$exclusions | (string) | 不在条款查询的子句中。 |
$args | (array) | 一组术语查询参数。 |
$taxonomies | (string[]) | 分类法名称的数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.3.0 | wp-includes/class-wp-term-query.php:474 | 1 | 0 |
list_terms_exclusions 为WP2原创文章,链接:https://www.wp2.cn/hook/list_terms_exclusions/