Filters the contents of the new user notification email sent to the site admin.
Parameters
$wp_new_user_notification_email_admin
array- Used to build wp_mail() .
to
stringThe intended recipient – site admin email address.subject
stringThe subject of the email.message
stringThe body of the email.headers
stringThe headers of the email.
$user
WP_User- User object for new user.
$blogname
string- The site title.
Source
$wp_new_user_notification_email_admin = apply_filters( 'wp_new_user_notification_email_admin', $wp_new_user_notification_email_admin, $user, $blogname );
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.