Description
Filters the contents of the new user notification email sent to the new user. }
Occurrences
Filename | Line Number |
---|---|
wp-includes/pluggable.php | 2255 |
Parameters
Type | Name | Description |
---|---|---|
array | $wp_new_user_notification_email | { Used to build wp_mail(). |
WP_User | $user | User object for new user. |
string | $blogname | The site title. |
PHP Doc
/**
* Filters the contents of the new user notification email sent to the new user.
*
* @since 4.9.0
*
* @param array $wp_new_user_notification_email {
* Used to build wp_mail().
*
* @type string $to The intended recipient - New user email address.
* @type string $subject The subject of the email.
* @type string $message The body of the email.
* @type string $headers The headers of the email.
* }
* @param WP_User $user User object for new user.
* @param string $blogname The site title.
*/