WordPress.org

Codex

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

WPMU Functions/wpmu signup user notification

Description

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

Parameters

$user
(string) (required) New users username.
Default: None
$user_email
(string) (required) New users email address.
Default: None
$key
(string) (required) Activation key.
Default: None
$meta
(object) (optional) Other meta information.
Default: [blank string]

Return Values

(boolean) 
True on success, false on failure.

Usage

<?php wpmu_signup_user_notification($user$user_email$key$meta); ?>

Family

Parent

wpmu_signup_user calls this function to send the email notification to the end user, the parent function handles the storing of the new users details into the database.

Sibling

wpmu_signup_blog_notification does the same thing except that it is used to notify users who signed up for an account and blog at the same time.