update_welcome_user_email filter-hook . WP 3.0.0
Filters the content of the welcome email after user activation.
Content should be formatted for transmission via wp_mail().
Usage
add_filter( 'update_welcome_user_email', 'filter_function_name_9257', 10, 4 ); function filter_function_name_9257( $welcome_email, $user_id, $password, $meta ){ // filter... return $welcome_email; }
- $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
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
wp-includes/ms-functions.php 1863
$welcome_email = apply_filters( 'update_welcome_user_email', $welcome_email, $user_id, $password, $meta );