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().
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.
Source
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |