Removes the taxonomy relationship to terms from the cache. Will remove the entire taxonomy relationship containing term `$object_id`. The term IDs have to exist within the taxonomy `$object_type` for the deletion to take place.
$object_ids, $object_type
Sortie :
@param int|array $object_ids Single or list of term object ID(s). @param array|string $object_type The taxonomy object type.
// Utilisation de la fonction clean_object_term_cache
$result = clean_object_term_cache($object_ids, $object_type);
if ($result) {
// Votre logique ici
}
Chargement des actualités...