WC_Order_Item_Product_Data_Store_Interface
in
WC Order Item Data Store Interface
Functions that must be defined by order item store classes.
Tags
Table of Contents
- get_download_ids() : array<string|int, mixed>
- Get a list of download IDs for a specific item from an order.
Methods
get_download_ids()
Get a list of download IDs for a specific item from an order.
public
get_download_ids(WC_Order_Item $item, WC_Order $order) : array<string|int, mixed>
Parameters
- $item : WC_Order_Item
-
Item object.
- $order : WC_Order
-
Order object.