WC_Order_Item_Type_Data_Store_Interface
in
WC Order Item Data Store Interface
Functions that must be defined by order item store classes.
Tags
Table of Contents
- save_item_data() : mixed
- Saves an item's data to the database / item meta.
Methods
save_item_data()
Saves an item's data to the database / item meta.
public
save_item_data(WC_Order_Item &$item) : mixed
Ran after both create and update, so $item->get_id() will be set.
Parameters
- $item : WC_Order_Item
-
Item object.