wp_cache_set_last_changed

FUNCTION wp-includes\functions.php (ligne 8103) github
Sets last changed date for the specified cache group to now.

Paramètres

Entrée :
$group
Sortie :
@param string $group Where the cache contents are grouped.
@return string UNIX timestamp when the group was last changed.

Utilisation

// Utilisation de la fonction wp_cache_set_last_changed
$result = wp_cache_set_last_changed($group);

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

Actualités

Chargement des actualités...