woocommerce_product_import_before_import

woocommerce_product_import_before_import

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_product_import_before_import') is found 1 times:

  • /includes/import/class-wc-product-csv-importer.php line 1120
    			'skipped'             => array(),
    		);
    
    		foreach ( $this->parsed_data as $parsed_data_key => $parsed_data ) {
    			do_action( 'woocommerce_product_import_before_import', $parsed_data );
    
    			$id         = isset( $parsed_data['id'] ) ? absint( $parsed_data['id'] ) : 0;
    			$sku        = isset( $parsed_data['sku'] ) ? $parsed_data['sku'] : '';
    			$id_exists  = false;
    			$sku_exists = false;