edd_record_download_in_log( int $download_id, int $file_id, array $user_info, string $ip, int $payment_id, int $price_id = false )
Record Download In Log
Description Description
Stores a log entry for a file download.
Parameters Parameters
- $download_id
-
(Required) Download ID
- $file_id
-
(Required) ID of the file downloaded
- $user_info
-
(Required) User information (Deprecated)
- $ip
-
(Required) IP Address
- $payment_id
-
(Required) Payment ID
- $price_id
-
(Optional) Price ID, if any
Default value: false
Return Return
(void)
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |