apply_filters( 'xmlrpc_default_user_fields', array $fields , string $method )
Filters the default user query fields used by the given XML-RPC method.
Parameters
-
$fields
array -
An array of user fields to retrieve. By default, contains
'all'
. -
$method
string -
The method name.
Source
File: wp-includes/class-wp-xmlrpc-server.php
.
View all references
$fields = apply_filters( 'xmlrpc_default_user_fields', array( 'all' ), 'wp.getUser' );
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |