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

Filters the subject of the welcome email after user activation.

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

add_filter( 'update_welcome_user_subject', 'wp_kama_update_welcome_user_subject_filter' );

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

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

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

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

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

wpmu_welcome_user_notification()
update_welcome_user_subject
wp-includes/ms-functions.php 1897
$subject = apply_filters( 'update_welcome_user_subject', sprintf( $subject, $current_network->site_name, $user->user_login ) );

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

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