Skip to main content
Easy Digital Downloads Documentation
Documentation, Reference Materials, and Tutorials for Easy Digital Downloads

edd_email_templates

The 
edd_email_templates filter allows you to register new email template names that can be applied to emails sent through Easy Digital Downloads.

A new template can be registered by adding an additional key, value pair to the array:

function pw_edd_register_email_template( $templates ) {
	$templates['my_custom_template'] = 'My Custom Template Name';
	return $templates;
}
add_filter( 'edd_email_templates', 'pw_edd_register_email_template' );

The template files themselves are located in 
wp-content/plugins/easy-digital-downloads/templates/emails/. EDD will attempt to load the following templates:

  • header-{template name}.php
  • body-{template name}.php
  • footer-{template name}.php

Place your custom templates in a folder called 
edd_templates/emails inside your currently active theme.