WC_Customer_Download_Data_Store_Interface::get_downloads_for_customer()publicWC 1.0

Get a customers downloads.

{} It's a method of the class: WC_Customer_Download_Data_Store_Interface{}

No Hooks.

Return

Array.

Usage

$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) (required)
Customer ID.

Code of WC_Customer_Download_Data_Store_Interface::get_downloads_for_customer() WC 6.9.4

public function get_downloads_for_customer( $customer_id );