W3cubDocs

/WordPress

apply_filters( 'wp_initialize_site_args', array $args, WP_Site $site, WP_Network $network )

Filters the arguments for initializing a site.

Description

Parameters

$args

(array) Arguments to modify the initialization behavior.

$site

(WP_Site) Site that is being initialized.

$network

(WP_Network) Network that the site belongs to.

Source

File: wp-includes/ms-site.php

View on Trac

Changelog

Version Description
5.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_initialize_site_args