# Custom Welcome Email Text for New Network Sites

> Replaces the network's welcome email for new sites with your own wording while keeping the site address, login and dashboard links filled in.

- Type: PHP
- Runs: Run everywhere
- Category: [Multisite](https://wpide.com/library/category/multisite/)
- Tags: email, welcome, new-site
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/ms-custom-welcome-email/

## Code

```php
if ( ! is_multisite() ) {
    return;
}

add_filter( 'update_welcome_email', function () {
    return "Hi USERNAME,\n\n"
        . "Your new site on SITE_NAME is ready.\n\n"
        . "Visit it: BLOG_URL\n"
        . "Log in: LOGINLINK\n\n"
        . "If you need a hand getting started, just reply to this email.\n\n"
        . "--The SITE_NAME team";
} );

add_filter( 'update_welcome_subject', function () {
    return 'Your new site on ' . get_network()->site_name . ' is ready';
} );
```

## Notes

Available placeholders: SITE_NAME, BLOG_URL, USERNAME, LOGINLINK. WordPress replaces them before sending; the password is no longer included.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Custom Welcome Email Text for New Network Sites" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
