Codex

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

Function Reference/edit user

This page redirects to an external site: https://developer.wordpress.org/reference/functions/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.