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

In this article

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

Parameters

$fieldsarray
An array of user fields to retrieve. By default, contains 'all'.
$methodstring
The method name.

Source

$fields = apply_filters( 'xmlrpc_default_user_fields', array( 'all' ), 'wp.getUser' );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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