WordPress at a glance
action is not described

wpmu_new_blog action-hook . WP 3.0.0

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


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

Список изменений

С версии 3.0.0 Введена.
Устарела с 5.1.0 Use {@see 'wp_insert_site'} instead.

Где вызывается хук

wp-includes/ms-site.php 135-140
	array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ),

Где используется хук в ядре WordPress

Использование не найдено.