Support » Plugin: Event Espresso 4 Decaf - Event Registration Event Ticketing » Require login/account to register for event

  • Resolved a608237


    I would like to require my prospective attendees to create an account to register. I’ve looked through the Event Espresso database tables and there does not seem to be a link between the attendee_meta table and wp_users (i.e. User_id). Where can I locate the user ID of the attendees?

    Thanks in advance.

    • This topic was modified 3 years, 5 months ago by a608237.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Josh Feck



    Attendees are not automatically given a user account, so they wouldn’t necessarily have a user ID.

    What you can do is restrict access to the event’s page using a plugin like Restrict Content and some custom code for restricting access to the event page. With Restrict Content you can set a user role level to allow access to specific WordPress posts/pages.

    This example code shows how to restrict access to the part of the event page that allows for selecting tickets, and show a message to log in instead:

    You can add the above to a functions plugin or into your WordPress child theme’s functions.php file.

    Plugin Contributor Josh Feck



    I saw in another topic, where I helped you with a related issue, you mentioned you were able to achieve this. So I’m going to marked this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Require login/account to register for event’ is closed to new replies.