WordPress at Your Fingertips
filter is not described

wp_installed_email filter-hook . WP 5.6.0

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


add_filter( 'wp_installed_email', 'filter_function_name_6423', 10, 5 );
function filter_function_name_6423( $installed_email, $user, $blog_title, $blog_url, $password ){
	// filter...

	return $installed_email;

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)
The site administrator user object.
The site title.
The site URL.
The site administrator's password. Note that a placeholder message is usually passed instead of the user's actual password.


Since 5.6.0 Introduced.

Where the hook is called

wp-admin/includes/upgrade.php 613
$installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password );

Where in WP core the hook is used WordPress

Usage not found.