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

In this article

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

Parameters

$installed_emailarray
Used to build 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.
$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

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

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.