apply_filters( 'wp_new_user_notification_email', array $wp_new_user_notification_email , WP_User $user , string $blogname )
Filters the contents of the new user notification email sent to the new user.
Parameters
- $wp_new_user_notification_email
-
Used to build wp_mail().<br>
- 'to'
(string) The intended recipient- New user email address.<br>
- 'subject'
(string) The subject of the email.<br> - 'message'
(string) The body of the email.<br> - 'headers'
(string) The headers of the email.<br>
- 'to'
- $user
-
User object for new user.
- $blogname
-
The site title.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |