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

Filters the subject of the welcome email sent to the site administrator after site activation.

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

add_filter( 'update_welcome_subject', 'wp_kama_update_welcome_subject_filter' );

/**
 * Function for `update_welcome_subject` filter-hook.
 * 
 * @param string $subject Subject of the email.
 *
 * @return string
 */
function wp_kama_update_welcome_subject_filter( $subject ){

	// filter...
	return $subject;
}
$subject(строка)
Subject of the email.

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

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

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

wpmu_welcome_notification()
update_welcome_subject
wp-includes/ms-functions.php 1691
$subject = apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title ) ) );

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

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