Filter hook 'wp_initialize_site_args'

in WP Core File wp-includes/ms-site.php at line 694

Description

Filters the arguments for initializing a site.

Occurrences

Filename Line Number
wp-includes/ms-site.php 694

Parameters

Type Name Description
array $args Arguments to modify the initialization behavior.
WP_Site $site Site that is being initialized.
WP_Network $network Network that the site belongs to.

PHP Doc

/**
	 * Filters the arguments for initializing a site.
	 *
	 * @since 5.1.0
	 *
	 * @param array      $args    Arguments to modify the initialization behavior.
	 * @param WP_Site    $site    Site that is being initialized.
	 * @param WP_Network $network Network that the site belongs to.
	 */