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

In this article

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

Parameters

$fieldsarray
An array of post fields to retrieve. By default, contains 'post', 'terms', and 'custom_fields'.
$methodstring
Method name.

Source

$fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

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