WC_Order_Item_Product_Data_Store_Interface::get_download_ids()
Get a list of download IDs for a specific item from an order.
Метод класса: WC_Order_Item_Product_Data_Store_Interface{}
Хуков нет.
Возвращает
Массив
.
Использование
$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) (обязательный)
- Item object.
- $order(WC_Order) (обязательный)
- Order object.
Код WC_Order_Item_Product_Data_Store_Interface::get_download_ids() WC Order Item Product Data Store Interface::get download ids WC 8.7.0
public function get_download_ids( $item, $order );