Codex

Function Reference/update post cache

Contents

Description

Updates the cache for each post passed in.

NOTE: despite name, it does not take a single post object or ID; it takes only an array of post objects.

  • @package WordPress
  • @subpackage Cache

Since

1.5.1

Params

array $posts Array of post objects

Source

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

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