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.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More