Fires when a site’s initialization routine should be executed.
$new_siteWP_Site
$argsarray
do_action( 'wp_initialize_site', $new_site, $args );
| Version | Description |
|---|---|
| 5.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_initialize_site