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 Parameters

$_post_type

(array) An array of post type data.

$post_type

(WP_Post_Type) Post type object.


Top ↑

Source Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Converted the $post_type parameter to accept a WP_Post_Type object.
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.