WordPress.org

Codex

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

WPMU Functions/wpmu welcome notification

Description

Sends a welcome email to new users after they have activated their account, it includes their username and password in the email for confirmation purposes. It also provides a link to their newly registered blog.

Parameters

$blog_id
( integer ) (required) The id of the users new blog.
Default: None
$user_id
(integer) (required) The id of the new user.
Default: None
$password
(string) (required) The new users password.
Default: None
$title
(string) (required) The title of the new blog.
Default: None
$meta
(object) (optional) Other meta information.
Default: [blank string]

Return Values

(boolean) 
True on success, false on failure.

Usage

<?php wpmu_welcome_notification($blog_id$user_id$password$title$meta); ?>

Family

Parent

wpmu_activate_signup calls this function to send the welcome email to the user, the parent function handles the activation of the end users account.

Sibling

wpmu_welcome_user_notification does the same thing except that it is for who only registered for an account and did not register for a blog.