edit_user


edit_user ( $user_id = 0 )

Parameters:
  • (int) user_id Optional. User ID.
Returns:
  • (int|WP_Error) User ID of the updated user or WP_Error on failure.
Defined at:

Description

Edit user settings based on contents of $_POSTUsed on user-edit.php and profile.php to manage and process user options, passwords etc.

Related Functions

get_user, get_users, add_user, create_user, get_user_by

Top Google Results

User discussions

wpseek mobile