Skip to main content
Easy Digital Downloads Documentation
Documentation, Reference Materials, and Tutorials for Easy Digital Downloads

edd_get_download_sales_stats()

This function will retrieve the total number of sales for a particular download.

$sales = edd_get_download_sales_stats( $download_id );