wpseek.com
A WordPress-centric search engine for devs and theme authors



xmlrpc_prepare_post_type › WordPress Filter Hooks

Since4.6.0
Deprecatedn/a
apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type )
Parameters: (2)
  • () _post_type An array of post type data.
    Required: Yes
  • () 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 );