wp_initialize_site_args

Advertisement

Summery Summery

Filters the arguments for initializing a site.

Syntax Syntax

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

Parameters Parameters

$args

Arguments to modify the initialization behavior.

$site

Site that is being initialized.

$network

Network that the site belongs to.

Source Source

File: wp-includes/ms-site.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Advertisement

Leave a Reply