Core Function
View Source on Trac ↗ add_user()
add_user( ) Creates a new user from the "Users" form using $_POST information.
Return Value
((int)
| WP_Error) WP_Error or User ID.
Function Information
Since Version
2.0.0
Source File
wp-admin/includes/user.php
Advertisement