WC_Customer_Download_Data_Store::get_download
Get a download object.
Method of the class: WC_Customer_Download_Data_Store{}
No Hooks.
Returns
WC_Customer_Download.
Usage
// private - for code of main (parent) class only $result = $this->get_download( $data );
- $data(array) (required)
- From the DB.
WC_Customer_Download_Data_Store::get_download() WC Customer Download Data Store::get download code WC 10.7.0
private function get_download( $data ) {
return new WC_Customer_Download( $data );
}