newblog_notify_siteadmin WordPress Filter Hook

The newblog_notify_siteadmin hook is used to notify the administrator of a new site about a new site being created. This hook is triggered when a new site is created, and the administrator is notified via email.

apply_filters( 'newblog_notify_siteadmin', string $msg, int|string $blog_id ) #

Filters the message body of the new site activation email sent to the network administrator.


Parameters

$msg

(string)Email body.

$blog_id

(int|string)The new site's ID as an integer or numeric string.


Top ↑

Source

File: wp-includes/ms-functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)MU (3.0.0)
5.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More