Automattic\WooCommerce\Internal\ProductFeed\Feed

ResumableFeedInterface::flushpublicWC 11.0.0

Persist the current chunk and release the file handle without finalizing the feed.

Called at the end of a chunk that is not the last one, so a later chunk can resume.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$ResumableFeedInterface = new ResumableFeedInterface();
$ResumableFeedInterface->flush(): void;

Список изменений

С версии 11.0.0 Введена.

Код ResumableFeedInterface::flush() WC 11.0.1

public function flush(): void;