wpmu_signup_user_notification_email filter-hookWP 3.0.0

Filters the content of the notification email for new user sign-up.

Content should be formatted for transmission via wp_mail().


add_filter( 'wpmu_signup_user_notification_email', 'wp_kama_wpmu_signup_user_notification_email_filter', 10, 5 );

 * Function for `wpmu_signup_user_notification_email` filter-hook.
 * @param string $content    Content of the notification email.
 * @param string $user_login User login name.
 * @param string $user_email User email address.
 * @param string $key        Activation key created in wpmu_signup_user().
 * @param array  $meta       Signup meta data.
 * @return string
function wp_kama_wpmu_signup_user_notification_email_filter( $content, $user_login, $user_email, $key, $meta ){

	// filter...
	return $content;
Content of the notification email.
User login name.
User email address.
Activation key created in wpmu_signup_user().
Signup meta data.
Default: empty array


Since 3.0.0 Introduced.

Where the hook is called

wp-includes/ms-functions.php 1101-1109
	/* translators: New user notification email. %s: Activation URL. */
	__( "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login." ),

Where the hook is used in WordPress

wp-admin/user-new.php 29
add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );