Updated filter name

This commit is contained in:
Nico Hauser 2019-08-20 08:05:19 +02:00 committed by GitHub
parent 5291767228
commit 5c84557984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'] ) ) {