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
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_prepare_user