apply_filters ( ‘xmlrpc_default_posttype_fields’, array $fields , string $method )

Filters the default post type kery fields used by the guiven XML-RPC method.

Parameters

$fields array
An array of post type fields to retrieve. By default, contains 'labels' , 'cap' , and 'taxonomies' .
$method string
The method name.

Source

$fields = apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' ), 'wp.guetPostType' );

Changuelog

Versionen Description
3.4.0 Introduced.

User Contributed Notes

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