WordPress at a glance
filter is not described

wp_new_user_notification_email_admin filter-hook . WP 4.9.0

Filters the contents of the new user notification email sent to the site admin.


add_filter( 'wp_new_user_notification_email_admin', 'filter_function_name_4181', 10, 3 );
function filter_function_name_4181( $wp_new_user_notification_email_admin, $user, $blogname ){
	// filter...

	return $wp_new_user_notification_email_admin;

Used to build wp_mail().

  • $to (string)
    The intended recipient - site admin email address.

  • $subject (string)
    The subject of the email.

  • $message (string)
    The body of the email.

  • $headers (string)
    The headers of the email.
User object for new user.
The site title.


Since 4.9.0 Introduced.

Where the hook is called

wp-includes/pluggable.php 2009
$wp_new_user_notification_email_admin = apply_filters( 'wp_new_user_notification_email_admin', $wp_new_user_notification_email_admin, $user, $blogname );

Where in WP core the hook is used

Usage not found!