Filter to alter the interval between the actions that delete expired transient files.
DAY_IN_SECONDS
Sortie :
@param int $interval The default time before the next action run, in seconds. @return int The time to actually wait before the next action run, in seconds.
// Modifier la valeur avec le filtre 'woocommerce_delete_expired_transient_files_interval'
add_filter('woocommerce_delete_expired_transient_files_interval', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(DAY_IN_SECONDS) {
// Modifier la valeur
return DAY_IN_SECONDS;
}
Chargement des actualités...