WC_Download_Handler::count_download
Deprecated since 4.4.0. It is no longer supported and may 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.
Returns
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() WC Download Handler::count download code WC 10.5.0
public static function count_download( $download_data ) {
wc_deprecated_function( 'WC_Download_Handler::count_download', '4.4.0', '' );
}