WC_Customer_Download::set_download_count()
Set download_count.
Method of the class: WC_Customer_Download{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer_Download = new WC_Customer_Download(); $WC_Customer_Download->set_download_count( $value );
- $value(int) (required)
- Download count.
WC_Customer_Download::set_download_count() WC Customer Download::set download count code WC 9.4.2
public function set_download_count( $value ) { $this->set_prop( 'download_count', absint( $value ) ); }