Filter: woocommerce_customer_stock_notifications_first_batch_delay
MINUTE_IN_SECONDS, $product_id
Sortie :
@param int $delay Delay time in seconds before first batch. @param int $product_id Product ID being scheduled.
// Modifier la valeur avec le filtre 'woocommerce_customer_stock_notifications_first_batch_delay'
add_filter('woocommerce_customer_stock_notifications_first_batch_delay', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(MINUTE_IN_SECONDS) {
// Modifier la valeur
return MINUTE_IN_SECONDS;
}
Chargement des actualités...