WordPress at a glance
filter is not described

wp_initialize_site_args filter-hook . WP 5.1.0

Filters the arguments for initializing a site.

Usage

add_filter( 'wp_initialize_site_args', 'filter_function_name_6864', 10, 3 );
function filter_function_name_6864( $args, $site, $network ){
	// filter...

	return $args;
}
$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.

Where the hook is called

wp_initialize_site()
wp_initialize_site_args
wp-includes/ms-site.php 707
$args = apply_filters( 'wp_initialize_site_args', $args, $site, $network );

Where the hook is used (in WP core)

Использование не найдено.