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

Filters the arguments for initializing a site.

Description Description

Parameters Parameters


(array) Arguments to modify the initialization behavior.


(WP_Site) Site that is being initialized.


(WP_Network) Network that the site belongs to.

Top ↑

Source Source

File: wp-includes/ms-site.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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