woocommerce_customer_stock_notifications_next_batch_delay

FILTER woocommerce\src\Internal\StockNotifications\AsyncTasks\JobManager.php (ligne 134) github
Filter: woocommerce_customer_stock_notifications_next_batch_delay

Paramètres

Entrée :
0, $product_id
Sortie :
@param int   $delay       Delay time in seconds before next batch.
@param int   $product_id  Product ID being scheduled.

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_customer_stock_notifications_next_batch_delay'
add_filter('woocommerce_customer_stock_notifications_next_batch_delay', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(0) {
    // Modifier la valeur
    return 0;
}

Actualités

Chargement des actualités...