Automattic\WooCommerce\Internal\BatchProcessing

BatchProcessorInterface::get_default_batch_size()publicWC 1.0

Default (preferred) batch size to pass to 'get_next_batch_to_process'. The controller will pass this size unless it's externally configured to use a different size.

Метод класса: BatchProcessorInterface{}

Хуков нет.

Возвращает

int. Default batch size.

Использование

$BatchProcessorInterface = new BatchProcessorInterface();
$BatchProcessorInterface->get_default_batch_size() : int;

Код BatchProcessorInterface::get_default_batch_size() WC 8.7.0

public function get_default_batch_size() : int;