On this page
apply_filters( 'wp_installed_email', array $installed_email, WP_User $user, string $blog_title, string $blog_url, string $password )
Filters the contents of the email sent to the site administrator when WordPress is installed.
Parameters
$installed_emailarray-
Used to build wp_mail() .
tostringThe email address of the recipient.subjectstringThe subject of the email.messagestringThe content of the email.headersstringHeaders.
$userWP_User-
The site administrator user object.
$blog_titlestring-
The site title.
$blog_urlstring-
The site URL.
$passwordstring-
The site administrator's password. Note that a placeholder message is usually passed instead of the user's actual password.
Source
File: wp-admin/includes/upgrade.php. View all references
$installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password );
Related
Used By
| Used By | Description |
|---|---|
| wp_new_blog_notification() wp-admin/includes/upgrade.php | Notifies the site admin that the installation of WordPress is complete. |
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_installed_email