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



xmlrpc_default_taxonomy_fields ›

Since3.4.0
已弃用n/a
apply_filters( 'xmlrpc_default_taxonomy_fields', array( 'labels', 'cap', 'object_type' )
参数: (2)
  • (array) $fields An array of taxonomy fields to retrieve.
    Required: Yes
  • (string) $method The method name.
    Required: Yes
定义在:
文档:

Filters the taxonomy query fields used by the given XML-RPC method.





源码

$fields = apply_filters( 'xmlrpc_default_taxonomy_fields', array( 'labels', 'cap', 'object_type' ), 'wp.getTaxonomy' );