update_welcome_subject filter-hookWP 3.0.0

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

Usage

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(string)
Subject of the email.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

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 ) ) );

Where the hook is used in WordPress

Usage not found.