This lets you insert custom text above the Easy Digital Downloads “Download History” for a customer. This will appear when you use the EDD [download_history]
shortcode, for example, on the customer’s Purchase History page.
The [download_history]
shortcode is sort of unnecessary because you probably use [purchase_history]
instead. But, this still may come in handy if you happen to add the [download_history]
shortcode at the bottom of the customer’s page. This following snippet will add a “Download History” title to the section. You can change this text on line 2.
function isa_before_download_history() { echo '<h2>Download History</h2>'; } add_action( 'edd_before_download_history', 'isa_before_download_history' );
Questions and Comments are Welcome