Merge pull request #17799 from axelmm/patch-2

Access to importer parameters - DRY
This commit is contained in:
Mike Jolley 2017-11-20 11:31:57 +00:00 committed by GitHub
commit c05d8ac94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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.
*