wpmu_signup_blog_notification_email filter-hookWP 3.0.0

Filters the message content of the new blog notification email.

Content should be formatted for transmission via wp_mail().

Usage

add_filter( 'wpmu_signup_blog_notification_email', 'wp_kama_wpmu_signup_blog_notification_email_filter', 10, 8 );

/**
 * Function for `wpmu_signup_blog_notification_email` filter-hook.
 * 
 * @param string $content    Content of the notification email.
 * @param string $domain     Site domain.
 * @param string $path       Site path.
 * @param string $title      Site title.
 * @param string $user_login User login name.
 * @param string $user_email User email address.
 * @param string $key        Activation key created in wpmu_signup_blog().
 * @param        $meta       
 *
 * @return string
 */
function wp_kama_wpmu_signup_blog_notification_email_filter( $content, $domain, $path, $title, $user_login, $user_email, $key, $meta ){

	// filter...
	return $content;
}
$content(string)
Content of the notification email.
$domain(string)
Site domain.
$path(string)
Site path.
$title(string)
Site title.
$user_login(string)
User login name.
$user_email(string)
User email address.
$key(string)
Activation key created in wpmu_signup_blog().
$meta
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

wpmu_signup_blog_notification()
wpmu_signup_blog_notification_email
wp-includes/ms-functions.php 976-987
apply_filters(
	'wpmu_signup_blog_notification_email',
	/* translators: New site notification email. 1: Activation URL, 2: New site URL. */
	__( "To activate your site, please click the following link:\n\n%1\$s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%2\$s" ),
	$domain,
	$path,
	$title,
	$user_login,
	$user_email,
	$key,
	$meta
),

Where the hook is used in WordPress

Usage not found.