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



register_taxonomy_args ›

Since4.4.0
已弃用n/a
apply_filters( 'register_taxonomy_args', $args, $this->name, (array)
参数: (3)
  • (array) $args Array of arguments for registering a taxonomy.
    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 );