_prime_site_caches

Advertisement

Private Access Private Access

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use update_site_cache() instead.

Summery Summery

Adds any sites from the given ids to the cache that do not already exist in cache.

Syntax Syntax

_prime_site_caches( array $ids, bool $update_meta_cache = true )

Parameters Parameters

$ids

(array) (Required) ID list.

$update_meta_cache

(bool) (Optional) Whether to update the meta cache.

Default value: true

Source Source

File: wp-includes/ms-site.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced the $update_meta_cache parameter.
4.6.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.