add_user

Advertisement

Summery Summery

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

Syntax Syntax

add_user()

Return Return

(int|WP_Error) WP_Error or User ID.

Source Source

File: wp-admin/includes/user.php

function add_user() {
	return edit_user();
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.