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.


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

	return $args;
Arguments to modify the initialization behavior.
Site that is being initialized.
Network that the site belongs to.

Where the hook is called

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

Where the hook is used (in WP core)

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