Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/ms-functions.php | apply_filters | 1726 | /** * Filters whether to send an email to the Multisite network administrator when a new site is created. * * Return false to disable sending the email. * * @since 5.6.0 * * @param bool $send Whether to send the email. * @param WP_Site $site Site object of the new site. * @param WP_User $user User object of the administrator of the new site. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $send | Whether to send the email. |
WP_Site | $site | Site object of the new site. |
WP_User | $user | User object of the administrator of the new site. |