_prime_post_caches ( $ids, $update_term_cache = true, $update_meta_cache = true )

  • (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.
Defined at:
Change Log:
  • 6: .


Adds any posts from the given IDs to the cache that do not already exist in cache.

Related Functions

_prime_site_caches, _prime_term_caches, _prime_comment_caches, wp_prime_option_caches, update_post_caches

Top Google Results

User discussions

wpseek mobile