edit_user

SummerySummery

Edit user settings based on contents of $_POST

Syntax

edit_user( int $user_id )

DescriptionDescription

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

ParametersParameters

$user_id

(int) (Optional) User ID.

ReturnReturn

(int|WP_Error) user id of the updated user.

SourceSource

File: wp-admin/includes/user.php


			

ChangelogChangelog

Changelog
Version Description
2.0.0 Introduced.
Scroll to Top