wp_initialize_site

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$new_site

(WP_Site) New site object.

$args

(array) Arguments for the initialization.

Source Source

File: wp-includes/ms-site.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.