apply_filters( 'wpmu_welcome_notification', int|false $blog_id, int $user_id, string $password, string $title, array $meta )

Filters whether to bypass the welcome email sent to the site administrator after site activation.


Description

Returning false disables the welcome email.


Top ↑

Parameters

$blog_id int|false
Site ID, or false to prevent the email from sending.
$user_id int
User ID of the site administrator.
$password string
User password, or "N/A" if the user account is not new.
$title string
Site title.
$meta array
Signup meta data. By default, contains the requested privacy setting and lang_id.

Top ↑

Source

File: wp-includes/ms-functions.php. View all references

if ( ! apply_filters( 'wpmu_welcome_notification', $blog_id, $user_id, $password, $title, $meta ) ) {


Top ↑

Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.