Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




clean_comment_cache [ WordPress Function ]

clean_comment_cache ( $ids )
Parameters:
  • (int|array) $ids Comment ID or array of comment IDs to remove from cache
Defined at:



Removes comment ID from the comment cache.

Source


<?php
function clean_comment_cache($ids) {
    foreach ( (array) 
$ids as $id )
        
wp_cache_delete($id'comment');

    
wp_cache_set('last_changed'time(), 'comment');
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics