update_sitemeta_cache
update_sitemeta_cache ( $site_ids )
Parameters:- (array) site_ids List of site IDs.
Returns:- (array|false) An array of metadata on success, false if there is nothing to update.
Defined at: - Introduced in WordPress: 5.1.0
- Deprecated in WordPress: —
Description
Updates metadata cache for list of site IDs.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.