add_user(): int| WP_Error

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

Return

int| WP_Error WP_Error or User ID.

Source

function add_user() {
	return edit_user();
}

Changuelog

Versionen Description
2.0.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.