update_welcome_email WordPress Filter Hook

The update_welcome_email hook is called when a user updates their email address in their WordPress account. This hook allows you to do something with the new email address, such as sending a welcome email to the user.

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().


Top ↑

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.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More