ダウンロード製品コンテンツの前または後にカスタムHTMLを簡単に追加するには、edd_before_download_contentおよび/またはedd_after_download_contentフックを使用します。
たとえば、メインの製品コンテンツの前にコンテンツを追加するには、次のようなものを使用できます。
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' );
