Automattic\WooCommerce\Internal\CLI\Migrator\Core
WooCommerceProductImporter::configure
Configure the importer with options.
Метод класса: WooCommerceProductImporter{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$WooCommerceProductImporter = new WooCommerceProductImporter(); $WooCommerceProductImporter->configure( $options ): void;
- $options(массив) (обязательный)
- Import options and configuration.
Код WooCommerceProductImporter::configure() WooCommerceProductImporter::configure WC 10.9.4
public function configure( array $options ): void {
$this->import_options = array_merge( $this->import_options, $options );
}