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

edd_get_download_earnings_stats()

This function will retrieve the total amount a particular download has earned in sales.

$earnings = edd_get_download_earnings_stats( $download_id );