WordPress at Your Fingertips
function is not described

WC_Customer_Download_Data_Store::get_download() private WC 1.0

Get a download object.

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

No Hooks.

Return

WC_Customer_Download.

Usage

// private - for code of main (parent) class only
$result = $this->get_download( $data );
$data(array) (required)
From the DB.

Code of WC_Customer_Download_Data_Store::get_download() WC 5.8.0

private function get_download( $data ) {
	return new WC_Customer_Download( $data );
}