Title: wp_installed_email
Published: December 9, 2020
Last modified: May 20, 2026

---

# apply_filters( ‘wp_installed_email’, array $installed_email, WP_User $user, string $blog_title, string $blog_url, string $password )

## In this article

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

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

Filters the contents of the email sent to the site administrator when WordPress 
is installed.

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

 `$installed_email`array

Used to build [wp_mail()](https://developer.wordpress.org/reference/functions/wp_mail/).

 * `to` string
 * The email address of the recipient.
 * `subject` string
 * The subject of the email.
 * `message` string
 * The content of the email.
 * `headers` string
 * Headers.

`$user`[WP_User](https://developer.wordpress.org/reference/classes/wp_user/)

The site administrator user object.

`$blog_title`string

The site title.

`$blog_url`string

The site URL.

`$password`string

The site administrator’s password. Note that a placeholder message is usually passed
instead of the user’s actual password.

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

    ```php
    $installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password );
    ```

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

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

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

Notifies the site admin that the installation of WordPress is complete.

  |

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

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

## User Contributed Notes

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