update_welcome_user_email WordPress Filter Hook

This hook is called when a new user is created in WordPress. It allows you to specify a message that will be sent to the user upon creation. The message can contain information about the site, or any other information you deem necessary.

apply_filters( 'update_welcome_user_email', string $welcome_email, int $user_id, string $password, array $meta ) #

Filters the content of the welcome email after user activation.


Description

Content should be formatted for transmission via wp_mail().


Top ↑

Parameters

$welcome_email

(string)The message body of the account activation success email.

$user_id

(int)User ID.

$password

(string)User password.

$meta

(array)Signup meta data. Default empty array.


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