Codex

Function Reference/update post caches

Contents

Description

Call major cache updating functions for list of Post objects

  • @package WordPress
  • @subpackage Cache

Since

1.5.0

Uses

Params

  • array $posts Array of Post objects
  • string $post_type The post type of the posts in $posts. Default is 'post'.
  • bool $update_term_cache Whether to update the term cache. Default is true.
  • bool $update_meta_cache Whether to update the meta cache. Default is true.

Source

update_post_caches() is located in wp-includes/post.php.

This page is marked as incomplete. You can help Codex by expanding it.