apply_filters( ‘update_welcome_email’, string $welcome_email, int $blog_id, int $user_id, string $password, string $title, array $meta )

In this article

Filters the content of the welcome email sent to the site administrator after site activation.

Description

Content should be formatted for transmission via wp_mail() .

Parameters

$welcome_emailstring
Message body of the email.
$blog_idint
Site ID.
$user_idint
User ID of the site administrator.
$passwordstring
User password, or "N/A" if the user account is not new.
$titlestring
Site title.
$metaarray
Signup meta data. By default, contains the requested privacy setting and lang_id.

Source

$welcome_email = apply_filters( 'update_welcome_email', $welcome_email, $blog_id, $user_id, $password, $title, $meta );

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

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