# edd_add_email_tag()

The *edd\_add\_email\_tag()* function allows you to register custom email tags for purchase receipts and admin sale notifications and takes three parameters:

- $tag – The tag to register, such as “admin\_email”. In the email settings, tags are wrapped with {} but not when they are registered.
- $description – A description of what the tag displays.
- $func – The call back function to render the tag’s output.

Here’s an example snippet that you can use and extend as needed: &lt;https://library.wpcode.com/snippet/j578kp2g/&gt;