do_action( ‘wp_initialize_site’, WP_Site $new_site, array $args )

In this article

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

Parameters

$new_siteWP_Site
New site object.
$argsarray
Arguments for the initialization.

Source

do_action( 'wp_initialize_site', $new_site, $args );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

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