xmlrpc_prepare_post_type

xmlrpc_prepare_post_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('xmlrpc_prepare_post_type') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 1049
    		 *
    		 * @param array        $_post_type An array of post type data.
    		 * @param WP_Post_Type $post_type  Post type object.
    		 */
    		return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );
    	}
    
    	/**
    	 * Prepares media item data for return in an XML-RPC object.
    	 *
    	 * @param WP_Post $media_item     The unprepared media item data.