WordPress at a glance
action is not described

wpmu_new_blog action-hook . WP 3.0.0

Deprecated in 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.


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


Since DEL 5.1.0 Introduced.

Where the hook is called

wp-includes/ms-site.php 133
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

Usage not found!