update_sitemeta_cache

SummerySummery

Updates metadata cache for list of site IDs.

Syntax

update_sitemeta_cache( array $site_ids )

DescriptionDescription

Performs SQL query to retrieve all metadata for the sites matching $site_ids and stores them in the cache. Subsequent calls to get_site_meta() will not need to query the database.

ParametersParameters

$site_ids

(array) (Required) List of site IDs.

ReturnReturn

(array|false) Returns false if there is nothing to update. Returns an array of metadata on success.

SourceSource

File: wp-includes/ms-site.php


			

ChangelogChangelog

Changelog
Version Description
5.1.0 Introduced.
Scroll to Top