Description
Filters the contents of the new user notification email sent to the site admin. }
Occurrences
Filename | Line Number |
---|---|
wp-includes/pluggable.php | 2188 |
Parameters
Type | Name | Description |
---|---|---|
array | $wp_new_user_notification_email_admin | { 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 site admin.
*
* @since 4.9.0
*
* @param array $wp_new_user_notification_email_admin {
* Used to build wp_mail().
*
* @type string $to The intended recipient - site admin 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.
*/