Support

Home Forums Event Espresso Premium Staff member as custom email tag

Staff member as custom email tag

Posted: July 23, 2014 at 4:43 am

Viewing 1 reply thread


Gunnar Ulle

July 23, 2014 at 4:43 am

Hi,
we’re using the Staff Manager as well as alternate email addresses. Is there any way to get either the name of the staff member AND/OR the alternate email address in the confirmation mail?

Saying something like:
Your course will be held by staff member (xx@xyz.com)

Thanks for your help,
Gunnar


Dean

July 23, 2014 at 7:38 am

Hi Gunnar,

As I’m sure you are aware, those items are not part of the email tags. https://eventespresso.com/wiki/custom-email-tags/

You could edit the /wp-content/plugins/event-espresso/includes/functions/email.php file to add them in but be aware that updates will over write those changes.

Adding the alternative email is fairly straight forward, you add a shortcode in one list and $data->event->alt_email in the other.

Adding the staff member name is harder as that information isn’t available at that point.

You would likely have to get a bit more in depth and do an SQL query on the events_personnel_rel table to find what staff are associated with the event, and then another one on the events_personnel table to get their details.

Viewing 1 reply thread

The support post ‘Staff member as custom email tag’ 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