wordpress / latest / hooks / populate_site_meta.html

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 all references

$site_meta = apply_filters( 'populate_site_meta', $meta, $site_id );

Used By

Used By Description

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