WordPress.org

Codex

WPMU Functions/wpmu create user

Contents

Description

Creates a new user account.

Parameters

$user_name
(string) (required) The username of the user to be created.
Default: None
$password
( string ) (required) The password of the user to be created.
Default: None}
$email
( string ) (required) The email address of the user to be created.
Default: None}

Return Values

(integer) 
id of the user created.

Usage

<?php wpmu_create_user($user_name$password$email); ?>