On this page
apply_filters( 'populate_site_meta', array $meta, int $site_id )
Filters meta for a site on creation.
Parameters
$metaarray-
Associative array of site meta keys and values to be inserted.
$site_idint-
ID of site to populate.
Source
File: wp-admin/includes/schema.php. View all references
$site_meta = apply_filters( 'populate_site_meta', $meta, $site_id );
Related
Used By
| Used By | Description |
|---|---|
| populate_site_meta() wp-admin/includes/schema.php | Creates WordPress site meta and sets the default values. |
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/populate_site_meta