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



registered_taxonomy_{$taxonomy} › WordPress动作钩子

Since6.0.0
已弃用n/a
› do_action( "registered_taxonomy_{$taxonomy}", $taxonomy, $object_type, (array)
参数: (3)
  • () taxonomy Taxonomy slug.
    Required: Yes
  • () object_type Object type or array of object types.
    Required: Yes
  • () args Array of taxonomy registration arguments.
    Required: Yes
定义在:
文档:

Fires after a specific taxonomy is registered.

The dynamic portion of the filter name, `$taxonomy`, refers to the taxonomy key. Possible hook names include: - `registered_taxonomy_category` - `registered_taxonomy_post_tag`




源码

do_action( "registered_taxonomy_{$taxonomy}", $taxonomy, $object_type, (array) $taxonomy_object );