_prime_post_caches
_prime_post_caches ( $ids, $update_term_cache = true, $update_meta_cache = true )
Parameters:- (int[]) ids ID list.
- (bool) update_term_cache Optional. Whether to update the term cache. Default true.
- (bool) update_meta_cache Optional. Whether to update the meta cache. Default true.
See:Defined at:Change Log: - Introduced in WordPress: 3.4.0
- Deprecated in WordPress: —
Description
Adds any posts from the given IDs to the cache that do not already exist in cache.