Login
Get Started

Easy Digital Downloads Documentation

Documentation, Reference Materials, and Tutorials for Easy Digital Downloads 

Adding HTML before or after Download product content

You can easily append custom HTML before or after the Download product content by using the 
edd_before_download_content and/or edd_after_download_content hooks.

For example, to add content before the main product content, you can use something like this:

function pw_edd_before_download_content( $download_id ) {
	echo 'This is content added before the main product content.';
}
add_action( 'edd_before_download_content', 'pw_edd_before_download_content' );
Was this article helpful?

Start selling today!

Join over 50,000 smart store owners, and start using the easiest way to sell digital products with WordPress.

Copyright © 2025 Sandhills Development, LLC