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

In this article

Filters the arguments for initializing a site.

Parameters

$argsarray
Arguments to modify the initialization behavior.
$siteWP_Site
Site that is being initialized.
$networkWP_Network
Network that the site belongs to.

Source

$args = apply_filters( 'wp_initialize_site_args', $args, $site, $network );

Changelog

VersionDescription
5.1.0Introduced.

User Contributed Notes

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