function clean_comment_cache($ids) {}

Removes comment ID from the comment cache.


  • int|array $ids: Comment ID or array of comment IDs to remove from cache

Source code

function clean_comment_cache($ids) {

	foreach ( (array) $ids as $id )

		wp_cache_delete($id, 'comment');

	wp_cache_set('last_changed', time(), 'comment');



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: