wpseek.com
WordPress开发者和主题制作者的搜索引擎



get_categories_taxonomy › WordPress过滤钩子

Since2.7.0
已弃用n/a
apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args )
参数: (2)
  • (string) $taxonomy Taxonomy to retrieve terms from.
    Required: Yes
  • (array) $args An array of arguments. See get_terms().
    Required: Yes
定义在:
文档:

Filters the taxonomy used to retrieve terms when calling get_categories().





源码

$args['taxonomy'] = apply_filters( 'get_categories_taxonomy', $args['taxonomy'], $args );