add_user()
Creates a new user from the "Users" form using $_POST information.
No Hooks.
Returns
Int|WP_Error. WP_Error or User ID.
Usage
add_user();
Changelog
| Since 2.0.0 | Introduced. |
add_user() add user code WP 6.9.1
function add_user() {
return edit_user();
}