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_email
array -
Used to build wp_mail() .
to
stringThe email address of the recipient.subject
stringThe subject of the email.message
stringThe content of the email.headers
stringHeaders.
-
$user
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
File: wp-admin/includes/upgrade.php
.
View all references
$installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password );
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |