Update: I have been able to remove this information by modifying the footer of the ticket email using a template override (https://theeventscalendar.com/knowledgebase/k/customizing-the-ticket-email/).
However, I had already customized the footer by adding Google Calendar/iCal links via this snipped to my child theme’s functions.php (https://gist.github.com/andrasguseo/038c4534762aa65a951bb6eb1e8b6ebf). Now the calendar links disappear as well.
How can I remove the Attendee Information section, but keep the Google Calendar/iCal links section?
Thanks!
Hi @ashlaw10,
Thanks for reaching out and the follow-up.
How did you remove the meta from the ticket email? If you don’t see the calendar links that you added on the other code it’s likely that you removed the do_action with tribe_tickets_ticket_email_ticket_bottom?
If that’s the case, I’d say that you revert that and then add the following code to remove the meta from the emails:
add_filter( 'tribe_event_tickets_plus_email_meta_fields', '__return_empty_array' );
Best,
Juan.
Hi Juan!
Thanks so much! Yes, you are right, I did remove the do_action with tribe_tickets_ticket_email_ticket_bottom.
I’ve reverted back but I don’t know where to add the code. Sorry, I’m not a developer, so I need a bit more instruction on this.
I appreciate your help.
Hi,
Thank you for the follow-up.
Adding code snippets should be fairly simple. We have an article explaining how to use the code on the functions.php file, which can be found in the following link.
Another option, if you don’t want to mess with files and such, is to use a plugin like the following to add the code directly on your WordPress admin: https://wordpress.org/plugins/code-snippets/
Please let me know how it goes.
Best,
Juan.
Oh, got it…I realize now that this was simply going in my child theme’s functions.php. I works like a charm…Thanks so much.
You too! Thanks again, Juan!