wpseek.com
A WordPress-centric search engine for devs and theme authors



profile_update › WordPress Action Hooks

Since5.8.0
Deprecatedn/a
do_action( 'profile_update', $user_id, $old_user_data, $userdata )
Parameters: (3)
  • (int) $user_id User ID.
    Required: Yes
  • (WP_User) $old_user_data Object containing user's data prior to update.
    Required: Yes
  • (array) $userdata The raw array of data passed to wp_insert_user().
    Required: Yes
Defined at:
Codex:

Fires immediately after an existing user is updated.





Source

do_action( 'profile_update', $user_id, $old_user_data, $userdata );