WordPress.org

Codex

WPMU Functions/wpmu signup user

Contents

Description

Stores the new users details in the database and calls wpmu_signup_user_notification to email the new user an activation link.

Parameters

$user
(string) (required) The new user's username.
Default: None
$user_email
(string) (required) The new users' email address.
Default: None}
$meta
(object) (optional) Other meta information.
Default: [blank string]

Return Values

(null)

Usage

<?php wpmu_signup_user($user$user_email$meta); ?>

Family

Sibling

wpmu_signup_blog does the same thing except that it also stores details of the new blog registered.

Children

wpmu_signup_user_notification sends an activation email to new users after they have completed the signup process, it includes their activation link.