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



register_taxonomy_args › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'register_taxonomy_args', $args, $this->name, (array)
参数: (3)
  • (array) $args Array of arguments for registering a taxonomy. See the register_taxonomy() function for accepted arguments.
    Required: Yes
  • (string) $taxonomy Taxonomy key.
    Required: Yes
  • (string[]) $object_type Array of names of object types for the taxonomy.
    Required: Yes
定义在:
文档:

Filters the arguments for registering a taxonomy.





源码

$args = apply_filters( 'register_taxonomy_args', $args, $this->name, (array) $object_type );