How to show total Downloads in Easy Digital Downloads (EDD)

Follow the below instruction to show total Downloads in Easy Digital Downloads (EDD).

Go to functions.php and paste this code:

Then to bring it all together, you can get the total number of customers, products, and file downloads with the following PHP:

Thank you for reading this.