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.


Top ↑

Source

File: wp-admin/includes/user.php. View all references

function add_user() {
	return edit_user();
}


Top ↑

Changelog

Changelog
Version Description
2.0.0 Introduced.

Top ↑

User Contributed Notes

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