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

Used to build wp_mail().<br>

  • 'to'
    (string) The email address of the recipient.<br>
  • 'subject'
    (string) The subject of the email.<br>
  • 'message'
    (string) The content of the email.<br>
  • 'headers'
    (string) Headers.<br>

$user

The site administrator user object.

$blog_title

The site title.

$blog_url

The site URL.

$password

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 on GitHub


Changelog

Changelog
Version Description
5.6.0 Introduced.