do_action( 'wp_initialize_site', WP_Site $new_site, array $args )

Fires when a site’s initialization routine should be executed.


Parameters

$new_site

New site object.

$args

Arguments for the initialization.


Source

File: wp-includes/ms-site.php

View on GitHub



Changelog

Changelog
Version Description
5.1.0 Introduced.