add_user() – Creates a new user from the "Users" form using $_POST information.

You appear to be a bot. Output may be restricted

Description

Creates a new user from the "Users" form using $_POST information.

Usage

$int|WP_Error = add_user();

Parameters

Returns

int|WP_Error WP_Error or User ID.

Source

File name: wordpress/wp-admin/includes/user.php
Lines:

1 to 3 of 3
function add_user() {
  return edit_user();
}
 

 View on GitHub View on Trac