WC_Order_Item_Data_Store_Interface::delete_order_item()publicWC 1.0

Delete an order item.

Method of the class: WC_Order_Item_Data_Store_Interface{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->delete_order_item( $item_id );
$item_id(int) (required)
Item ID.

WC_Order_Item_Data_Store_Interface::delete_order_item() code WC 9.4.2

public function delete_order_item( $item_id );