Home Forums WP User Integration Add "Name" to [ESPRESSO_MY_EVENTS]


Posted: April 3, 2018 at 11:16 am

Burnt Orange Design

April 3, 2018 at 11:16 am

I used the code found here ( to display all tickets for each registration.

How do I add a new table column to display the person’s name?


  • Support Staff

April 4, 2018 at 3:46 am

Hi there,

To do that you need to edit a different template file.

Within /eea-user-intergration/templates/ you’ll find the content-espresso_my_events-event_section_tickets.template.php template.

Copy that to your themes root directory, the same way you did with my snippet above.

From line 12 you’ll have:

    <?php echo $ticket instanceof EE_Ticket ? $ticket->name() : ''; ?>

Above that add this:

        $attendee = $registration->attendee();
        echo $attendee instanceof EE_Attendee ? $attendee->full_name() : '';

Like so –

Burnt Orange Design

April 4, 2018 at 6:53 am

That worked out great! Thank you

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for the WP User integration.
Documentation for WP User Integration

Status: publish

Updated by  Burnt Orange Design 2 weeks, 1 day ago ago

Topic Tags


This topic is: resolved
Do NOT follow this link or you will be banned from the site!