W3cubDocs

/WordPress

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) Array of post fields. Default array contains 'post', 'terms', and 'custom_fields'.

$method

(string) Method name.

Source

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

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_default_post_fields