WC_Download_Handler::count_download()public staticWC 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.

Method of the class: WC_Download_Handler{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Deprecated since 4.4.0

WC_Download_Handler::count_download() code WC 8.6.1

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