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

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


Description Description


Parameters Parameters

$new_site

(WP_Site) New site object.

$args

(array) Arguments for the initialization.


Top ↑

Source Source

File: wp-includes/ms-site.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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