Filters the delay in seconds to apply to the scheduling of database updates when automatic updates are enabled.
0
Sortie :
@param int $delay Delay to add (in seconds). Default is 0 (updates will run as soon as possible).
// Modifier la valeur avec le filtre 'woocommerce_db_update_schedule_delay'
add_filter('woocommerce_db_update_schedule_delay', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(0) {
// Modifier la valeur
return 0;
}
Chargement des actualités...