update_welcome_subject

update_welcome_subject

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('update_welcome_subject') is found 1 times:

  • /wp-includes/ms-functions.php line 1691
    	 * @since MU (3.0.0)
    	 *
    	 * @param string $subject Subject of the email.
    	 */
    	$subject = apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title ) ) );
    
    	wp_mail( $user->user_email, wp_specialchars_decode( $subject ), $message, $message_headers );
    
    	if ( $switched_locale ) {
    		restore_previous_locale();
    	}