woocommerce_product_import_pre_insert_product_object

woocommerce_product_import_pre_insert_product_object

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_product_import_pre_insert_product_object') is found 1 times:

  • /includes/import/abstract-wc-product-importer.php line 281
     
    			$this->set_image_data( $object, $data );
    			$this->set_meta_data( $object, $data );
    
    			$object = apply_filters( 'woocommerce_product_import_pre_insert_product_object', $object, $data );
    			$object->save();
    
    			do_action( 'woocommerce_product_import_inserted_product_object', $object, $data );
    
    			return array(
    				'id'           => $object->get_id(),