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



get_term › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'get_term', $_term, $taxonomy )
参数: (2)
  • (WP_Term) $_term Term object.
    Required: Yes
  • (string) $taxonomy The taxonomy slug.
    Required: Yes
定义在:
文档:

Filters a taxonomy term object.

The {@see 'get_$taxonomy'} hook is also available for targeting a specific taxonomy.





源码

$_term = apply_filters( 'get_term', $_term, $taxonomy );