apply_filters( 'xmlrpc_default_post_fields', array $fields, string $method )

Filters the list of post query fields used by the given XML-RPC method.


Parameters

$fields

Array of post fields. Default array contains 'post', 'terms', and 'custom_fields'.

$method

Method name.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.4.0 Introduced.