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' );