W3cubDocs

/WordPress

do_action( ‘wp_update_user’, int $user_id, array $userdata, array $userdata_raw )

Fires after the user has been updated and emails have been sent.

Parameters

$user_idint
The ID of the user that was just updated.
$userdataarray
The array of user data that was updated.
$userdata_rawarray
The unedited array of user data that was updated.

Source

do_action( 'wp_update_user', $user_id, $userdata, $userdata_raw );

Changelog

Version Description
6.3.0 Introduced.

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