list_terms_exclusions

过滤钩子


apply_filters( 'list_terms_exclusions', $exclusions, $args, $taxonomies )
参数
  • (string)
    $exclusions
    `NOT IN` clause of the terms query.
    Required:
  • (array)
    $args
    An array of terms query arguments.
    Required:
  • (string[])
    $taxonomies
    An array of taxonomy names.
    Required:
定义位置
  • wp-includes/class-wp-term-query.php
    , line 534
引入
2.3.0
弃用

过滤要从术语查询中排除的术语。

$exclusions = apply_filters( 'list_terms_exclusions', $exclusions, $args, $taxonomies );