Fires after the object term cache has been cleaned.
$ids, $taxonomy = '', $clean_taxonomy = true
Sortie :
@param array $object_ids An array of object IDs. @param string $object_type Object type. @param int|int[] $ids Single or array of term IDs. @param string $taxonomy Optional. Taxonomy slug. Can be empty, in which case the taxonomies of the passed @param bool $clean_taxonomy Optional. Whether to clean taxonomy wide caches (true), or just individual
// Utilisation de la fonction clean_term_cache
$result = clean_term_cache($ids, $taxonomy = '', $clean_taxonomy = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...