W3cubDocs

/WordPress

apply_filters( 'populate_site_meta', array $meta, int $site_id )

Filters meta for a site on creation.

Parameters

$meta

(array) Associative array of site meta keys and values to be inserted.

$site_id

(int) ID of site to populate.

Source

File: wp-admin/includes/schema.php

View on Trac

Changelog

Version Description
5.2.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/populate_site_meta