Automattic\WooCommerce\Internal\CLI\Migrator\Core

WooCommerceProductImporter::configurepublicWC 1.0

Configure the importer with options.

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

Хуков нет.

Возвращает

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

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

$WooCommerceProductImporter = new WooCommerceProductImporter();
$WooCommerceProductImporter->configure( $options ): void;
$options(массив) (обязательный)
Import options and configuration.

Код WooCommerceProductImporter::configure() WC 10.9.4

public function configure( array $options ): void {
	$this->import_options = array_merge( $this->import_options, $options );
}