Used By
Used By | Description |
---|---|
wp-includes/ms-site.php: wp_insert_site() | Inserts a new site into the database. |
This hook has been deprecated. Use ‘wp_insert_site’ instead.
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.
wpmu_new_blog
is an action triggered whenever a new blog is created within a multisite network.
File: wp-includes/ms-site.php
Version | Description |
---|---|
5.1.0 | Use 'wp_insert_site' instead. |
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_new_blog