wpmu_signup_blog_notification_subject хук-фильтрWP 3.0.0

Filters the subject of the new blog notification email.

Использование

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(строка)
Subject of the notification email.
$domain(строка)
Site domain.
$path(строка)
Site path.
$title(строка)
Site title.
$user_login(строка)
User login name.
$user_email(строка)
User email address.
$key(строка)
Activation key created in wpmu_signup_blog().
$meta
-

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

wpmu_signup_blog_notification()
wpmu_signup_blog_notification_subject
wp-includes/ms-functions.php 1013-1024
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
),

Где используется хук в WordPress

Использование не найдено.