WordPress at Your Fingertips
function is not described

WC_Customer_Download::set_download_count() public WC 1.0

Set download_count.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->set_download_count( $value );
$value(int) (required)
Download count.

Code of WC_Customer_Download::set_download_count() WC 5.7.0

public function set_download_count( $value ) {
	$this->set_prop( 'download_count', absint( $value ) );
}