add_user()

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


Description Description


Return Return

(int|WP_Error) WP_Error or User ID.


Top ↑

Source Source

File: wp-admin/includes/user.php

function add_user() {
	return edit_user();
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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