WPDev.one
Core Function
View Source on Trac ↗

_prime_comment_caches()

_prime_comment_caches( mixed $comment_ids, mixed $update_meta_cache = true )

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

Parameters 1 required

Name / Type Description
$comment_ids
int[]

Array of comment IDs.

Required
$update_meta_cache
bool

Optional. Whether to update the meta cache. Default true.

Return Value

(void)
No return value description available.

Function Information

Since Version
4.4.0
Source File
wp-includes/comment.php
Advertisement