WC_Order_Item_Product_Data_Store_Interface::get_download_ids()publicWC 1.0

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() code WC 9.4.2

public function get_download_ids( $item, $order );