wpmu_signup_blog_notification_subject filter-hookWP 3.0.0

Filters the subject of the new blog notification email.

Usage

add_filter( 'wpmu_signup_blog_notification_subject', 'wp_kama_wpmu_signup_blog_notification_subject_filter', 10, 8 );

/**
 * Function for `wpmu_signup_blog_notification_subject` filter-hook.
 * 
 * @param string $subject    Subject 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_subject_filter( $subject, $domain, $path, $title, $user_login, $user_email, $key, $meta ){

	// filter...
	return $subject;
}
$subject(string)
Subject 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_subject
wp-includes/ms-functions.php 1008-1019
apply_filters(
	'wpmu_signup_blog_notification_subject',
	/* translators: New site notification email subject. 1: Network title, 2: New site URL. */
	_x( '[%1$s] Activate %2$s', 'New site notification email subject' ),
	$domain,
	$path,
	$title,
	$user_login,
	$user_email,
	$key,
	$meta
),

Where the hook is used in WordPress

Usage not found.