clean_comment_cache

FUNCTION wp-includes\comment.php (ligne 3404) github
Removes a comment from the object cache.

Paramètres

Entrée :
$ids
Sortie :
@param int|array $ids Comment ID or an array of comment IDs to remove from cache.

Utilisation

// Utilisation de la fonction clean_comment_cache
$result = clean_comment_cache($ids);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...