newuser_notify_siteadmin filter-hookWP 3.0.0

Filters the message body of the new user activation email sent to the network administrator.

Usage

add_filter( 'newuser_notify_siteadmin', 'wp_kama_newuser_notify_siteadmin_filter', 10, 2 );

/**
 * Function for `newuser_notify_siteadmin` filter-hook.
 * 
 * @param string  $msg  Email body.
 * @param WP_User $user WP_User instance of the new user.
 *
 * @return string
 */
function wp_kama_newuser_notify_siteadmin_filter( $msg, $user ){

	// filter...
	return $msg;
}
$msg(string)
Email body.
$user(WP_User)
WP_User instance of the new user.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

newuser_notify_siteadmin()
newuser_notify_siteadmin
wp-includes/ms-functions.php 1527
$msg = apply_filters( 'newuser_notify_siteadmin', $msg, $user );

Where the hook is used in WordPress

Usage not found.