WordPress at Your Fingertips
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.


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

	return $send;
Whether to send the email.
Site object of the new site.
User object of the administrator of the new site.


Since 5.6.0 Introduced.

Where the hook is called

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.