new_site_email

最后更新于:2021-11-27 10:43:34

apply_filters( ‘new_site_email’, array $new_site_email, GC_Site $site, GC_User $user )

Filters the content of the email sent to the Multisite network administrator when a new site is created.

参数

$new_site_email

(array)
Used to build gc_mail().

  • ‘to’
    (string) The email address of the recipient.
  • ‘subject’
    (string) The subject of the email.
  • ‘message’
    (string) The content of the email.
  • ‘headers’
    (string) Headers.

$site

(GC_Site)
Site object of the new site.

$user

(GC_User)
User object of the administrator of the new site.

源文件

文件: gc-includes/ms-functions.php

View on Trac