Filter hook 'xmlrpc_prepare_post_type'

in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 1049

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp-xmlrpc-server.php 1049

Parameters

Type Name Description
array $_post_type An array of post type data.
WP_Post_Type $post_type Post type object.

PHP Doc

/**
		 * Filters XML-RPC-prepared date for the given post type.
		 *
		 * @since 3.4.0
		 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object.
		 *
		 * @param array        $_post_type An array of post type data.
		 * @param WP_Post_Type $post_type  Post type object.
		 */