Definition:
function clean_comment_cache($ids) {}
Removes comment ID from the comment cache.
Parameters
- 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'); }
621
No comments yet... Be the first to leave a reply!