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

edd_email_template

The edd_email_template filter allows you to force a specific email template to be used for all emails sent through Easy Digital Downloads.

function pw_edd_change_email_template() {
	add_filter( 'edd_email_template', 'pw_edd_set_email_template' );
}
add_action( 'edd_email_send_before', 'pw_edd_change_email_template' );
function pw_edd_set_email_template( $template_name ) {
	return 'blue';
}