Support

Home Forums Event Espresso Premium Create multiple WP accounts for multiple registrations

Create multiple WP accounts for multiple registrations

Posted: September 25, 2021 at 5:54 am


jKalz

September 25, 2021 at 5:54 am

Hello!
I noticed a problem with my EE installation. When people register multiple persons at once there is only one account generated under WP. This is a huge problem since I am also running Elearning courses tied to these event registrations. So once a person registers one or multiple people for the Events/ courses they all get the same account credentials (from the registering person). Is there a solution to that? I’d like to have separate accounts for each registered person.

Thanks in advance.


Tony

  • Support Staff

September 27, 2021 at 4:24 am

Hi there,

When people register multiple persons at once there is only one account generated under WP.

This is actually by design, we create a WP User account for the primary registrant, not all registrants.

We do have a snippet you can use to alter that behaviour here:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-wp-user/jf_ee_process_multi_wpuser_for_attendees.php

That will create an account for all registrants in a group (if they don’t have one already) as requested.

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

However, I don’t think the above is going to fix this:

This is a huge problem since I am also running Elearning courses tied to these event registrations. So once a person registers one or multiple people for the Events/ courses they all get the same account credentials (from the registering person).

I checked your site and you are using LearnDash, I assume with the EE Learndash add-on and it’s that add-on that determines which registrant/user is assigned to the course. As far as I am aware it will only do that for the first/primary registrant so even when you create a WP user account for each registrant they won’t individually be assigned to the course.

The support post ‘Create multiple WP accounts for multiple registrations’ 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