Filters XML-RPC-prepared date for the given post type.
$_post_typearray
$post_typeWP_Post_Type
return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
| Version | Description |
|---|---|
| 4.6.0 | Converted the $post_type parameter to accept a WP_Post_Type object. |
| 3.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_prepare_post_type