WPDev.one
Core Function
View Source on Trac ↗

wpmu_new_site_admin_notification()

wpmu_new_site_admin_notification( mixed $site_id, mixed $user_id )

Notifies the Multisite network administrator that a new site was created.

Parameters 2 required

Name / Type Description
$site_id
int

Site ID of the new site.

Required
$user_id
int

User ID of the administrator of the new site.

Required

Return Value

(bool)
Whether the email notification was sent.

Function Information

Since Version
5.6.0
Source File
wp-includes/ms-functions.php
Advertisement