Automattic\WooCommerce\Internal\BatchProcessing
BatchProcessorInterface::get_default_batch_size()
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() BatchProcessorInterface::get default batch size WC 7.7.2
public function get_default_batch_size() : int;