woocommerce_order_edit_product

woocommerce_order_edit_product

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_order_edit_product') is found 1 times:

  • /includes/legacy/abstract-wc-legacy-order.php line 173
     
    		$item->set_order_id( $this->get_id() );
    		$item->set_props( $args );
    		$item->save();
    		do_action( 'woocommerce_order_edit_product', $this->get_id(), $item->get_id(), $args, $product );
    
    		return $item->get_id();
    	}
    
    	/**
    	 * Update coupon for order. Note this does not update order totals.