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



xmlrpc_prepare_post_type ›

Since4.6.0
已弃用n/a
apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type )
参数: (2)
  • (array) $_post_type An array of post type data.
    Required: Yes
  • (WP_Post_Type) $post_type Post type object.
    Required: Yes
定义在:
文档:

Filters XML-RPC-prepared date for the given post type.





源码

return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );