WordPress.org

Ready to get started?Download WordPress

Codex

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

Function Reference/wpmu welcome notification

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Notify a user that his/her blog activation has been successful.

Usage

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

Parameters

$blog_id
(integer) (required) The blog ID
Default: None
$user_id
(integer) (required) The user's ID
Default: None
$password
(string) (required) The password
Default: None
$title
(string) (required) The blog's new title
Default: None
$meta
(array) (optional) Not used in the default function, but is passed along to hooks for customization.
Default: empty string

Return Value

(boolean) 
Returns True after executing wp_mail(), only returns False if same is returned by the 'wpmu_welcome_notification' filter.

Examples


Notes

Filter 'wpmu_welcome_notification' to disable or bypass.

Filter 'update_welcome_email' and 'update_welcome_subject' to modify the content and subject line of the notification email.

Change Log

Since: MU

Source File

wpmu_welcome_notification() is located in wp-includes/ms-functions.php

Related

 

See also index of Function Reference and index of Template Tags.