edd_get_file_downloaded_count( int $download_id, int $file_key, int $payment_id )
Gets the number of times a file has been downloaded for a specific purchase
Description Description
Parameters Parameters
- $download_id
-
(Required) Download ID
- $file_key
-
(Required) File key
- $payment_id
-
(Required) The ID number of the associated payment
Return Return
(int) Number of times the file has been downloaded for the purchase
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
1.6 | Introduced. |