clean_taxonomy_cache

FUNCTION wp-includes\taxonomy.php (ligne 3706) github
Fires once after each taxonomy's term cache has been cleaned.

Paramètres

Entrée :
$taxonomy
Sortie :
@param array  $ids            An array of term IDs.
@param string $taxonomy       Taxonomy slug.
@param bool   $clean_taxonomy Whether or not to clean taxonomy-wide caches
@param string $taxonomy Taxonomy slug.

Utilisation

// Utilisation de la fonction clean_taxonomy_cache
$result = clean_taxonomy_cache($taxonomy);

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

Actualités

Chargement des actualités...