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

edd_before_download_content

Runs just before the content for a single download is displayed. Usually this happens in single.php or single-download.php.

This action is primarily for adding extra content to the top of download content, most likely in scenarios where you are unable to modify the template files, or do not have a single-download.php.

The download ID is passed as a parameter.