do_action( 'wpmu_new_blog', int $blog_id, int $user_id, string $domain, string $path, int $network_id, array $meta )

Fires immediately after a new site is created.


Parameters

$blog_id

Site ID.

$user_id

User ID.

$domain

Site domain.

$path

Site path.

$network_id

Network ID. Only relevant on multi-network installations.

$meta

Meta data. Used to set initial site options.


Source

File: wp-includes/ms-functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-MU Introduced. (3.0.0)