do_action_deprecated( 'wpmu_new_blog', int $site_id, int $user_id, string $domain, string $path, int $network_id, array $meta )

Fires immediately after a new site is created.



(int) Site ID.


(int) User ID.


(string) Site domain.


(string) Site path.


(int) Network ID. Only relevant on multi-network installations.


(array) Meta data. Used to set initial site options.

Top ↑

More Information

wpmu_new_blog is an action triggered whenever a new blog is created within a multisite network.

Top ↑


File: wp-includes/ms-site.php

View on Trac

Top ↑


Version Description
5.1.0 Use 'wp_insert_site' instead.
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.