WC_Order_Item_Product_Data_Store_Interface::get_download_ids()
Get a list of download IDs for a specific item from an order.
Method of the class: WC_Order_Item_Product_Data_Store_Interface{}
No Hooks.
Return
Array
.
Usage
$WC_Order_Item_Product_Data_Store_Interface = new WC_Order_Item_Product_Data_Store_Interface(); $WC_Order_Item_Product_Data_Store_Interface->get_download_ids( $item, $order );
- $item(WC_Order_Item) (required)
- Item object.
- $order(WC_Order) (required)
- Order object.
WC_Order_Item_Product_Data_Store_Interface::get_download_ids() WC Order Item Product Data Store Interface::get download ids code WC 9.4.2
public function get_download_ids( $item, $order );