xmlrpc_prepare_user WordPress Filter Hook
The xmlrpc_prepare_user hook is used to allow plugins to modify the user data before it is sent to the XML-RPC client.
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. |