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 ) {
|
||||
try {
|
||||
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.
|
||||
if ( empty( $data['id'] ) && ! empty( $data['sku'] ) ) {
|
||||
|
|
Loading…
Reference in New Issue