apply_filters( 'send_new_site_email', bool $send , WP_Site $site , WP_User $user )
Filters whether to send an email to the Multisite network administrator when a new site is created.
Description
Return false to disable sending the email.
Parameters
- $send
-
Whether to send the email.
- $site
-
Site object of the new site.
- $user
-
User object of the administrator of the new site.
Source
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |