On this page
do_action( 'wp_insert_site', WP_Site $new_site )
Fires once a site has been inserted into the database.
Parameters
$new_siteWP_Site-
New site object.
Source
File: wp-includes/ms-site.php. View all references
do_action( 'wp_insert_site', $new_site );
Related
Used By
| Used By | Description |
|---|---|
| wp_insert_site() wp-includes/ms-site.php | Inserts a new site into the database. |
Changelog
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_insert_site