woocommerce_product_import_process_item_data

woocommerce_product_import_process_item_data

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_product_import_process_item_data') is found 1 times:

  • /includes/import/abstract-wc-product-importer.php line 228
    	 */
    	protected function process_item( $data ) {
    		try {
    			do_action( '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'] ) ) {
    				$product_id = wc_get_product_id_by_sku( $data['sku'] );
    
    				if ( $product_id ) {