W3cubDocs

/WordPress

apply_filters( 'xmlrpc_prepare_user', array $_user, WP_User $user, array $fields )

Filters XML-RPC-prepared data for the given user.

Parameters

$_user

(array) An array of user data.

$user

(WP_User) User object.

$fields

(array) An array of user fields.

Source

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

View on Trac

Changelog

Version Description
3.5.0 Introduced.

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