WC_Customer_Download_Data_Store_Interface::get_downloads_for_customer()publicWC 1.0

Get a customers downloads.

{} Это метод класса: WC_Customer_Download_Data_Store_Interface{}

Хуков нет.

Возвращает

Массив.

Использование

$WC_Customer_Download_Data_Store_Interface = new WC_Customer_Download_Data_Store_Interface();
$WC_Customer_Download_Data_Store_Interface->get_downloads_for_customer( $customer_id );
$customer_id(int) (обязательный)
Customer ID.

Код WC_Customer_Download_Data_Store_Interface::get_downloads_for_customer() WC 6.4.1

public function get_downloads_for_customer( $customer_id );