WordPress at a glance
filter is not described

xmlrpc_default_posttype_fields filter-hook . WP 3.4.0

Filters the default query fields used by the given XML-RPC method.


add_filter( 'xmlrpc_default_posttype_fields', 'filter_function_name_4825', 10, 2 );
function filter_function_name_4825( $fields, $method ){
	// filter...

	return $fields;
An array of post type query fields for the given method.
The method name.

Where the hook is called

wp-includes/class-wp-xmlrpc-server.php 4192
$fields = apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' ), 'wp.getPostType' );
wp-includes/class-wp-xmlrpc-server.php 4244
$fields = apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' ), 'wp.getPostTypes' );

Where the hook is used (in WP core)

Does not used.