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



register_{$taxonomy}_taxonomy_args › WordPress过滤钩子

Since6.0.0
已弃用n/a
› apply_filters( "register_{$taxonomy}_taxonomy_args", $args, $this->name, (array)
参数: (3)
  • () args Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
    Required: Yes
  • () taxonomy Taxonomy key.
    Required: Yes
  • () object_type Array of names of object types for the taxonomy.
    Required: Yes
定义在:
文档:

Filters the arguments for registering a specific taxonomy.

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




源码

$args = apply_filters( "register_{$taxonomy}_taxonomy_args", $args, $this->name, (array) $object_type );