apply_filters( 'xmlrpc_prepare_post_type', array $_post_type , WP_Post_Type $post_type )
Filters XML-RPC-prepared date for the given post type.
Parameters
- $_post_type
-
An array of post type data.
- $post_type
-
Post type object.
Source
Changelog
Version | Description |
---|---|
WP-4.6.0 | Converted the $post_type parameter to accept a WP_Post_Type object. |
WP-3.4.0 | Introduced. |