newblog_notify_siteadmin

过滤钩子


apply_filters( 'newblog_notify_siteadmin', $msg, $blog_id )
参数
  • (string)
    $msg
    Email body.
    Required:
  • (int|string)
    $blog_id
    The new site’s ID as an integer or numeric string.
    Required:
定义位置
  • wp-includes/ms-functions.php
    , line 1463
引入
5.4.0
弃用

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

$msg = apply_filters( 'newblog_notify_siteadmin', $msg, $blog_id );