woocommerce_customer_stock_notifications_batch_size

FILTER woocommerce\src\Internal\StockNotifications\AsyncTasks\NotificationsProcessor.php (ligne 110) github
Filter: woocommerce_customer_stock_notifications_batch_size

Paramètres

Entrée :
self::BATCH_SIZE
Sortie :
@param int $batch_size Default batch size.
@return int

Utilisation

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

function ma_fonction_filtre(self::BATCH_SIZE) {
    // Modifier la valeur
    return self::BATCH_SIZE;
}

Actualités

Chargement des actualités...