Home Forums Event Espresso Premium WP User Integration and Retreival of Parents registering children

WP User Integration and Retreival of Parents registering children

Posted: November 20, 2018 at 3:35 am


November 20, 2018 at 3:35 am

In EE3 we used the member add-on, and we set up all of our events so that a parent logs in, and their children are saved as the attendees for the classes, keeping the parent email as the primary attendee email even though the student name was the attendee name. Then when they view their registration history, all of the registrations are tied to the parent WP User account, so they can view a list of classes by kid, e.g.:
Class Name – Child Name – Class Date/Time details, etc.

I’m confused about how this changes in EE4, especially regarding how the Contact record ties into the registrations. In EE4 with the WP User Integration Add-on, how is everything linked? Is the parent the Contact, and the children are the attendees? If the parent updates their WP User profile info, which contact records are updated? Is there only one contact record per parent email address, or is one created for each registration instance?

I noticed when we upgraded to EE4 and did the data conversion, the links I had previously between events and WP Users are no longer there (or at least the events don’t show up on the user profile page for users that I know had user-event associations in the event_member_rel table previously). How does that work now? What tables would I need to query in order to match up past registrations to current users (parent email should be the same) in order to reestablish those links?

I am working on modifying the content-espresso_my_events-event_section.template.php file to meet our display needs and getting confused about the difference between tickets and regsitrations.

Thanks for helping me figure this out!


November 20, 2018 at 3:58 am

I learned by reading this article that a relationship is stored in the wp_usermeta table to indicate the EE attendee ID. However, in our case, we need to have multiple EE ATT_IDs per WP User. That used to be possible in EE3. Is that no longer the case in EE4? I tried putting in another user meta entry with a different ATT_ID and it did not show in the MY_EVENTS display, so I’m assuming the code doesn’t know how to handle a one-to-many relationship?


  • Support Staff

November 20, 2018 at 6:44 am


That’s correct, the EE4 WP User Integration does not have the capability to do one-to-many relationships between the Attendee ID and the User ID.


November 28, 2018 at 2:02 pm

I’m interested in this issue – would it be advisable to use EE3 rather than EE4 if the parent/student relationship (one to many) functionality is of importance to our afterschool program?


November 29, 2018 at 3:26 am

I think in either case, unless you do custom coding, you will need to set the default required first and last name fields to be the student name, the required email field to be the parent email, and then add questions to capture the parent name.

In EE3, the Espresso Members add-on has a table to tracks relationships between WP Users and Espresso Attendees, so all registrations made by one logged-in user are linked to the WP user’s login and email, even if the attendee names (in this case, student names) are different. In EE4, they force a single link between one attendee and one WP user. I am going to write some custom code to overcome that!

Hope that helps.

The support post ‘WP User Integration and Retreival of Parents registering children’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  lhammond 5 months, 4 weeks ago ago

Topic Tags


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