WordPress at a glance
filter is not described

send_new_site_email filter-hook . WP 5.6.0

Filters whether to send an email to the Multisite network administrator when a new site is created.

Return false to disable sending the email.

Usage

add_filter( 'send_new_site_email', 'filter_function_name_7202', 10, 3 );
function filter_function_name_7202( $send, $site, $user ){
	// filter...

	return $send;
}
$send(true/false)
Whether to send the email.
$site(WP_Site)
Site object of the new site.
$user(WP_User)
User object of the administrator of the new site.

Changelog

Since 5.6.0 Introduced.

Where the hook is called

wpmu_new_site_admin_notification()
send_new_site_email
wp-includes/ms-functions.php 1731
if ( ! apply_filters( 'send_new_site_email', true, $site, $user ) ) {

Where in WP core the hook is used WordPress

Usage not found.