edd_record_sale_in_log( int $download_id, int $payment_id, bool|int $price_id = false, string|null $sale_date = null )
Record Sale In Log
Description Description
Stores log information for a download sale.
Parameters Parameters
- $download_id
-
(Required) Download ID
- $payment_id
-
(Required) Payment ID
- $price_id
-
(Optional) Price ID, if any
Default value: false
- $sale_date
-
(Optional) The date of the sale
Default value: null
Return Return
(void)
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |