You appear to be a bot. Output may be restricted
Description
Return the sales number for a download.
Usage
$int|false = edd_get_download_sales_stats( $download_id );
Parameters
- $download_id
- ( int ) optional – Download ID.
Returns
int|false Number of sales, false if download was not found.
Source
File name: easy-digital-downloads/includes/download-functions.php
Lines:
1 to 8 of 8
function edd_get_download_sales_stats( $download_id = 0 ) { $download = edd_get_download( $download_id ); return $download ? $download->sales : false; }