wp_new_blog_notification

SummerySummery

Notifies the site admin that the setup is complete.

Syntax

wp_new_blog_notification( string $blog_title, string $blog_url, int $user_id, string $password )

DescriptionDescription

Sends an email with wp_mail to the new administrator that the site setup is complete, and provides them with a record of their login credentials.

ParametersParameters

$blog_title

(string) (Required) Site title.

$blog_url

(string) (Required) Site url.

$user_id

(int) (Required) User ID.

$password

(string) (Required) User's Password.

SourceSource

File: wp-admin/includes/upgrade.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top