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.
Source
Changelog
Version | Description |
---|---|
MU (3.0.0) | MU (3.0.0) |
5.4.0 | Introduced. |