A WordPress-centric search engine for devs and theme authors

wp_installed_email › WordPress Filter Hooks

apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password )
Parameters: (5)
  • (array) $installed_email { Used to build wp_mail(). @type string $to The email address of the recipient. @type string $subject The subject of the email. @type string $message The content of the email. @type string $headers Headers. }
    Required: Yes
  • (WP_User) $user The site administrator user object.
    Required: Yes
  • (string) $blog_title The site title.
    Required: Yes
  • (string) $blog_url The site URL.
    Required: Yes
  • (string) $password The site administrator's password. Note that a placeholder message is usually passed instead of the user's actual password.
    Required: Yes
Defined at:

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


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