WordPress at Your Fingertips
action is not described

wpmu_new_blog action-hook . WP 3.0.0

Deprecated from version 5.1.0. It is no longer supported and can be removed in future releases. See wp_insert_site.

Deprecated: 5.1.0 Use {@see 'wp_insert_site'} instead.

Fires immediately after a new site is created.

Usage

add_action( 'wpmu_new_blog', 'action_function_name_2974', 10, 3 );
function action_function_name_2974( $site_id, $user_id, $domain ){
	// action...
}
$site_id(int)
Site ID.
$user_id(int)
User ID.
$domain(string)
Site domain.

Changelog

Since 3.0.0 Introduced.
Deprecated Since 5.1.0 Use {@see 'wp_insert_site'} instead.

Where the hook is called

wp_insert_site()
wpmu_new_blog
wp-includes/ms-site.php 135-140
do_action_deprecated(
	'wpmu_new_blog',
	array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ),
	'5.1.0',
	'wp_insert_site'
);

Where in WP core the hook is used WordPress

Usage not found.