WPDev.one
Core Function
View Source on Trac ↗

update_postmeta_cache()

update_postmeta_cache( mixed $post_ids )

Updates metadata cache for a list of post IDs.

Parameters 1 required

Name / Type Description
$post_ids
int[]

Array of post IDs.

Required

Return Value

((array)
| false) An array of metadata on success, false if there is nothing to update.

Function Information

Since Version
2.1.0
Source File
wp-includes/post.php
Advertisement