A WordPress-centric search engine for devs and theme authors



add_user ›

Since2.0.0
Deprecatedn/a
add_user ( No parameters )
Returns:
  • (int|WP_Error) WP_Error or User ID.
Defined at:
Codex:

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



Source

function add_user() {
	return edit_user();
}