newuser_notify_siteadmin

newuser_notify_siteadmin

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('newuser_notify_siteadmin') is found 1 times:

  • /wp-includes/ms-functions.php line 1527
    	 *
    	 * @param string  $msg  Email body.
    	 * @param WP_User $user WP_User instance of the new user.
    	 */
    	$msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );
    
    	/* translators: New user notification email subject. %s: User login. */
    	wp_mail( $email, sprintf( __( 'New User Registration: %s' ), $user->user_login ), $msg );
    
    	return true;
    }