A WordPress-centric search engine for devs and theme authors



xmlrpc_prepare_post_type ›

Since4.6.0
Deprecatedn/a
apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type )
Parameters: (2)
  • (array) $_post_type An array of post type data.
    Required: Yes
  • (WP_Post_Type) $post_type Post type object.
    Required: Yes
Defined at:
Codex:

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





Source

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