populate_site_meta WordPress Filter Hook
if ( ! function_exists( 'populate_site_meta' ) ) { function populate_site_meta() { // Add site meta. } } add_action( 'populate_site_meta', 'populate_site_meta' );
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
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |