# 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[&#039;my_custom_template&#039;] = &#039;My Custom Template Name&#039;;
	return $templates;
}
add_filter( &#039;edd_email_templates&#039;, &#039;pw_edd_register_email_template&#039; );&lt;br&gt;&lt;/br&gt;
```

 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.