populate_site_meta

SummerySummery

Filters meta for a site on creation.

Syntax

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

ParametersParameters

$meta

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

$site_id

(int) ID of site to populate.

SourceSource

File: wp-admin/includes/schema.php

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top