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

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


Parameters

$new_site WP_Site
New site object.
$args array
Arguments for the initialization.

Top ↑

Source

File: wp-includes/ms-site.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
5.1.0 Introduced.

Top ↑

User Contributed Notes

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