Title: update_welcome_subject
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘update_welcome_subject’, string $subject )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#wp--skip-link--target)

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#parameters)󠁿

 `$subject`string

Subject of the email.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#source)󠁿

    ```php
    $subject = apply_filters( 'update_welcome_subject', sprintf( $subject, $current_network->site_name, wp_unslash( $title ) ) );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/ms-functions.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/ms-functions.php#L1738)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/ms-functions.php#L1738-L1738)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#related)󠁿

| Used by | Description | 
| [wpmu_welcome_notification()](https://developer.wordpress.org/reference/functions/wpmu_welcome_notification/)`wp-includes/ms-functions.php` |

Notifies the site administrator that their site activation was successful.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/update_welcome_subject/?output_format=md#changelog)󠁿

| Version | Description | 
| [MU (3.0.0)](https://developer.wordpress.org/reference/since/mu.3.0.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fupdate_welcome_subject%2F)
before being able to contribute a note or feedback.