WordPress at Your Fingertips
function is not described

add_user() WP 2.0.0

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

No Hooks.

Return

Int|WP_Error. WP_Error or User ID.

Usage

add_user();

Changelog

Since 2.0.0 Introduced.

Code of add_user() WP 5.8.2

function add_user() {
	return edit_user();
}