Add heading to EDD download history and purchase history shortcodes
<?php
// Do [download_history] heading
add_action( 'edd_before_download_history', 'richr_do_download_history_before' );
function richr_do_download_history_before() {
echo '<h2>Download your files</h2>';
}
// Do [purchase_history] heading
add_action( 'edd_purchase_history_header_before', 'richr_do_purchase_history_before' );
function richr_do_purchase_history_before() {
echo '<h2>View your purchase history</h2>';
}