Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog
AsyncGenerator::get_chunk_size_option_key
Returns the option key under which the effective chunk size is persisted.
Stored separately from the status so a shrunk chunk size survives the status being cleared when a job completes, expires, or restarts, and carries over to the next request from the app.
Метод класса: AsyncGenerator{}
Хуков нет.
Возвращает
string. The option key for the effective chunk size.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_chunk_size_option_key( $option_key ): string;
- $option_key(строка) (обязательный)
- The option key for the feed generation status.
Код AsyncGenerator::get_chunk_size_option_key() AsyncGenerator::get chunk size option key WC 11.2.2
private function get_chunk_size_option_key( string $option_key ): string {
return $option_key . '_chunk_size';
}