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



get_{$taxonomy} › WordPress过滤钩子

Since4.4.0
已弃用n/a
› apply_filters( "get_{$taxonomy}", $_term, $taxonomy )
参数: (2)
  • () _term Term object.
    Required: Yes
  • () taxonomy The taxonomy slug.
    Required: Yes
定义在:
文档:

Filters a taxonomy term object.

The dynamic portion of the hook name, `$taxonomy`, refers to the slug of the term's taxonomy. Possible hook names include: - `get_category` - `get_post_tag`




源码

$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );