Home Forums Event Espresso Premium Registration Approved Admin Email

Registration Approved Admin Email

Posted: March 8, 2023 at 9:05 pm


March 8, 2023 at 9:05 pm

Is it possible to display the promotion code used on the Registration Approved Admin notification email?

Ideally, if we could add to the [ATTENDEE_LIST] section just after the [REGISTRATION_CODE] link:

<h4><a href="[EDIT_ATTENDEE_LINK]">[FNAME] [LNAME]<br />[ATTENDEE_EMAIL]</a></h4>
<li><strong>Registration Code:</strong> <a href="[EDIT_ATTENDEE_LINK]">[REGISTRATION_CODE]</a>***HERE***</li>


March 8, 2023 at 9:07 pm

Here is a screenshot since my code didn’t display above


  • Support Staff

March 9, 2023 at 5:29 am

Hi there,

Officially we don’t currently have a way to pull in the promotion code(s) used on a transaction into messages, however I do have a snippet which can do it here:

That snippet adds a [PROMO_CODES_USED] shortcode to messages.

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

It’s not exactly what you are asking for as the promotion codes are pulled in from the transaction, so it’s not available to be used within ATTENDEE_LIST but it will work in EVENT_LIST.


March 9, 2023 at 1:34 pm

Thanks Tony. I’ve created and activated the custom functions plugin, but get an error message when trying to add it to the EVENT_LIST section of the email message:
This is how I’m trying to add it:

Any ideas on why it would provide the error?


  • Support Staff

March 9, 2023 at 1:50 pm

My apologies! Thats because I had EVENT_LIST on the brain and you can’t use it there.

The shortcode is available in Main Content.

If you click on the shortcode button next to each section it will display all of the available shortcodes for that specific section.


March 9, 2023 at 2:08 pm

Thank you Tony. This works perfectly.


  • Support Staff

March 9, 2023 at 2:10 pm

You’re most welcome 🙂

The support post ‘Registration Approved Admin Email’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso