Codex tools: Log in
Contents |
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.
1.5.1
array $posts Array of post objects
update_post_cache() is located in wp-includes/post.php.