WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/edit user

Description

Update (or create) a user in the database with data from $_POST

Usage

<?php edit_user$userid ?>

Source File

edit_user() is located in wp-admin/includes/user.php.

Uses

sanitize_text_field

See also index of Function Reference and index of Template Tags.

Related

wp_update_user

See also index of Function Reference and index of Template Tags.