WC_Order_Item_Data_Store_Interface::update_order_item()publicWC 1.0

Update an order item.

Method of the class: WC_Order_Item_Data_Store_Interface{}

No Hooks.

Return

true|false.

Usage

$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->update_order_item( $item_id, $item );
$item_id(int) (required)
Item ID.
$item(array) (required)
order_item_name or order_item_type.

WC_Order_Item_Data_Store_Interface::update_order_item() code WC 8.9.0

public function update_order_item( $item_id, $item );