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

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_email

(string) Message body of the email.

$blog_id

(int) Site ID.

$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.

Source

File: wp-includes/ms-functions.php

View on Trac

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/update_welcome_email