edit_user


edit_user ( $user_id = 0 )

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

Description

Edit user settings based on contents of $_POST

Used on user-edit.php and profile.php to manage and process user options, passwords etc.

Related Functions

get_users, add_user, get_user_by, create_user, edit_post

Top Google Results

User discussions

wpseek mobile