);
} $url =
get_blogaddress_by_id( $blog_id );
$welcome_email =
str_replace( 'SITE_NAME',
$current_network->site_name,
$welcome_email );
$welcome_email =
str_replace( 'BLOG_TITLE',
$title,
$welcome_email );
$welcome_email =
str_replace( 'BLOG_URL',
$url,
$welcome_email );
$welcome_email =
str_replace( 'USERNAME',
$user->user_login,
$welcome_email );
$welcome_email =
str_replace( 'PASSWORD',
$password,
$welcome_email );
/**
* Filters the content of the welcome email sent to the site administrator after site activation.
*
* Content should be formatted for transmission via wp_mail().
*
* @since MU (3.0.0)
*
* @param string $welcome_email Message body of the email.
* @param int $blog_id Site ID.
* @param int $user_id User ID of the site administrator.
* @param string $password User password, or "N/A" if the user account is not new.
* @param string $title Site title.
* @param array $meta Signup meta data. By default, contains the requested privacy setting and lang_id.
*/