WordPress at Your Fingertips
function is not described

WC_Download_Handler::count_download() public WC 1.0

Deprecated from version 4.4.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Count download.

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

No Hooks.


null. Nothing.


$result = WC_Download_Handler::count_download( $download_data );
$download_data(array) (required)
Download data.


Deprecated 4.4.0

Code of WC_Download_Handler::count_download() WC 5.6.0

public static function count_download( $download_data ) {
	wc_deprecated_function( 'WC_Download_Handler::count_download', '4.4.0', '' );