Support

Home Forums Event Espresso Premium Delete registrations from past events

Delete registrations from past events

Posted: February 3, 2025 at 9:41 am

Viewing 11 reply threads


ericabanes

February 3, 2025 at 9:41 am

Can you advise how to delete registrations from past events so that when user comes to register for a new event (duplicate of a past event) they don’t get an error message saying that their email is already on the system.
I can see some tickets with this question but want to be sure we are following latest advice.


Tony

  • Support Staff

February 3, 2025 at 10:09 am

Hi there,

So that ‘error’ isn’t really an error; it’s stating their email is already in the system as a WP user and requires them to log in so that their registration is linked to their user account.

Deleting past registrations won’t prevent that from happening but you can disable that email check using a snippet:

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

Just add that line of code onto your site, you can add it to a custom functions plugin for example:

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

That will skip the user match check and prevent the above.


ericabanes

February 3, 2025 at 10:45 am

Hi Tony,
Thank you.
Will this mean that someone already registered for a past event can come to the site using the same email address and register for the new event?


ericabanes

February 3, 2025 at 11:15 am

Hi Tony,
Just to clarify.
We want users who come to the site to be able to register for the new event with the same email as if they are a new user (i.e. they will get a new login – and won’t have to remember/find theor old login). So in essenece they’ll be treated like new users that haven’t registered before.


Tony

  • Support Staff

February 4, 2025 at 4:00 am

OK, so then yeah that’s not registrations but WP User accounts. The whole idea of generating a user account is the opposite of what you are trying to do here so learning out the WP user accounts for each event is going to take some work on your part for this.

We don’t have a method for bulk removing WP User accounts built into Event Espresso but you can it via the standard WordPress method.

So to start, if you want rid of the registrations (not the User accounts) then the quickest way to remove them is to delete the previous event… when you trash and then perm delete the event EE will bulk delete the related data (registrations, transactions, payments, messages etc) for that event.

Once you’ve done that you can go to Dashboard -> Users.

Select the WP user accounts you want to delete there and then in the bulk option select delete.

May I ask, is it worth you generating WP user accounts for your registrations if you then want users to re-register and have new accounts again? I’m asking as if not you could just disable the WP User integration add-on and just use event registrations without them.


Tony

  • Support Staff

February 4, 2025 at 4:01 am

Side note (important)

Make sure you have a database backup before moving forward with the above, if something is accidentally deleted when doing the above you can’t get it back so the dacbkup will be the only way to get hold of that data again.


ericabanes

February 4, 2025 at 5:13 am

Hi Tony,
Thanks.
Re: the quickest way to remove them is to delete the previous event
Will this still work if we’ve already duplicated the previous event and then edited it to use for an new event?
Re: May I ask, is it worth you generating WP user accounts for your registrations if you then want users to re-register and have new accounts again? I’m asking as if not you could just disable the WP User integration add-on and just use event registrations without them.
If we disable the WP User integration add-on what will happen when users register for an event – and then try to re-register again for the next event? Does disabling the WP User integration add-on mean they can re-register for a new event with the same email as if they are a new user (i.e. they will get a new login – and won’t have to remember/find their old login). So they’ll be treated like new users that haven’t registered before?


Tony

  • Support Staff

February 4, 2025 at 5:29 am

Re: the quickest way to remove them is to delete the previous event
Will this still work if we’ve already duplicated the previous event and then edited it to use for an new event?

People use the term ‘event’ too loosely here, so to confirm, you clicking to duplicate the event as a whole, correct?

This: https://monosnap.com/file/tEZOTGoSyK9XRNhDmITPkWlwiyyidL

If so, yes it will still work, the duplicate event is now another separate event. Your deleting the original event where the registrations are assigned to.

If we disable the WP User integration add-on what will happen when users register for an event – and then try to re-register again for the next event? Does disabling the WP User integration add-on mean they can re-register for a new event with the same email as if they are a new user (i.e. they will get a new login – and won’t have to remember/find their old login). So they’ll be treated like new users that haven’t registered before?

The WP user integration add generates WP users based on the registration form data provided during a registration (first name, last name & email address), disabling it will prevent that from happening.

No, it will not allow people to create multiple accounts with the same details (that’s not allow within WordPress itself and therefor not allowed within EE as its just ‘using’ WP user accounts).

There is no system that will allow you to create a user account and then create another with exactly the same details, the whole point of creating a user account is to prevent that from happening. Think of say your Amazon account, it doesn’t allow you to just create multiple ‘instances’ of an account as it would never know which account your login into with them all being the same, the same applies here.


ericabanes

February 4, 2025 at 6:07 am

Hi Tony,

Thanks.

Re: so to confirm, you clicking to duplicate the event as a whole, correct?

Yes that’s right.

Re: The WP user integration add generates WP users based on the registration form data provided during a registration (first name, last name & email address), disabling it will prevent that from happening.

So to confirm, if we disable the WP user integration addon, the next time we need to setup a new event we’d duplicate the event and then just delete the previous event and there would be no WP user accounts to delete, allowing users to re-register using the same email address.


Tony

  • Support Staff

February 4, 2025 at 6:31 am

Actually, if all you want to do is allow registrations and no longer check for/create WP User accounts from the registration data then all you need to do is disable the WP user integration add-on.

EE will then use just the ‘core’ functionality and allow whatever registrations using whatever data. The users will not be able to log into the site to view the registrations and no new user accounts will be created but they can then register onto the event with whatever details they prefer (be it an existing WP user account data or not).


ericabanes

February 4, 2025 at 8:12 am

Hi Tony,

So are you saying that as we currently stand, if we simply disable the WP user integration add-on we don’t have to delete previous events or user registations or do we need to make the deletions first, then disable the WP user integration add-on and from there on we wouldn’t have to delete previous events or user registrations (as user accounts won’t be created)?


Tony

  • Support Staff

February 4, 2025 at 10:18 am

Correct.

If all you want is to freely allow registrations without the user logging in, just disable the WP user integration add-on and you’re done.

Viewing 11 reply threads

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

Event Espresso