Automattic\WooCommerce\Internal\CLI\Migrator\Platforms\Webflow

WebflowFetcher::empty_batch │ private │ WC 1.0

Empty-batch response helper.

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

Хуков нет.

Возвращает

array{items: array, cursor: null, has_next_page: false}.

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

// private - только в коде основоного (родительского) класса
$result = $this->empty_batch(): array;

Код WebflowFetcher::empty_batch() WC 11.2.2

private function empty_batch(): array {
	return array(
		'items'         => array(),
		'cursor'        => null,
		'has_next_page' => false,
	);
}