Merge pull request #17799 from axelmm/patch-2
Access to importer parameters - DRY
This commit is contained in:
commit
c05d8ac94f
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue