WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/wpmu signup user

Description

Stores the new users details in the database.

WP 4.3 and prior would call wpmu_signup_user_notification to email the new user an activation link. More recent versions don't send a user notification unless added to the "after_signup_user" action

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.