diff --git a/includes/import/abstract-wc-product-importer.php b/includes/import/abstract-wc-product-importer.php index e5ff902821f..f98ea8ef8ca 100644 --- a/includes/import/abstract-wc-product-importer.php +++ b/includes/import/abstract-wc-product-importer.php @@ -125,6 +125,15 @@ abstract class WC_Product_Importer implements WC_Importer_Interface { return apply_filters( 'woocommerce_product_importer_parsed_data', $this->parsed_data, $this->get_raw_data() ); } + /** + * Get importer parameters. + * + * @return array + */ + public function get_params() { + return $this->params; + } + /** * Get file pointer position from the last read. *