Automattic\WooCommerce\Internal\CLI\Migrator\Core
WooCommerceProductImporter::configure
Configure the importer with options.
Method of the class: WooCommerceProductImporter{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WooCommerceProductImporter = new WooCommerceProductImporter(); $WooCommerceProductImporter->configure( $options ): void;
- $options(array) (required)
- Import options and configuration.
WooCommerceProductImporter::configure() WooCommerceProductImporter::configure code WC 10.7.0
public function configure( array $options ): void {
$this->import_options = array_merge( $this->import_options, $options );
}