WordPress.org

Ready to get started?Download WordPress

Codex

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

WPMU Functions/wpmu welcome user 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.

Parameters

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

Return Values

(boolean) 
True on success, false on failure.

Usage

<?php wpmu_welcome_user_notification($user_id$password$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_notification does the same thing except that it is for who registered for an account and for a blog.