Updated filter name
This commit is contained in:
parent
5291767228
commit
5c84557984
|
@ -211,7 +211,7 @@ abstract class WC_Product_Importer implements WC_Importer_Interface {
|
||||||
protected function process_item( $data ) {
|
protected function process_item( $data ) {
|
||||||
try {
|
try {
|
||||||
do_action( 'woocommerce_product_import_before_process_item', $data );
|
do_action( 'woocommerce_product_import_before_process_item', $data );
|
||||||
$data = apply_filters( 'woocommerce_product_import_before_process_item', $data );
|
$data = apply_filters( 'woocommerce_product_import_process_item_data', $data );
|
||||||
|
|
||||||
// Get product ID from SKU if created during the importation.
|
// Get product ID from SKU if created during the importation.
|
||||||
if ( empty( $data['id'] ) && ! empty( $data['sku'] ) ) {
|
if ( empty( $data['id'] ) && ! empty( $data['sku'] ) ) {
|
||||||
|
|
Loading…
Reference in New Issue