Home Forums Event Espresso Premium Unlink registration from WP User

Unlink registration from WP User

Posted: May 12, 2017 at 8:56 am


May 12, 2017 at 8:56 am

Hi guys,

I had a registration that tied to a WP User somehow. User integration settings were ‘off’, ‘off’, ‘subscriber’ for the event.

I don’t really use the user integration yet. I.e. no WP users are created with EE.

What happened was I noticed one of my WP Admins had the wrong name and email. Not thinking too much about it, I changed it back to what it should be manually through Users. Subsequently, I noticed that the registration information changed. It turns out that the registration is tied to that WP User for some reason.

How can I break this link or resolve otherwise?




  • Support Staff

May 12, 2017 at 10:11 am

Hi Derek,

You can follow this guide, but with one important change because in this case you’re unsyncing.

The change is that last line of code where it has this:
add_user_meta( $user_id, $meta_key, $meta_value, true );

You’ll do this instead:
delete_user_meta( $user_id, $meta_key, $meta_value );


May 12, 2017 at 2:29 pm

debug bar gives me an error 500, I have to go into my db and disable all plugins, then reactivate. Any alternatives?


  • Support Staff

May 12, 2017 at 2:48 pm

An alternative is you add the code to your theme’s function.php file, save, then refresh a page on your website, then remove the code, then save the file again.

Another alternative is you install this plugin:

Then you use the User Meta Manager to delete the EE_Attendee_ID meta key/value for that user account.

The support post ‘Unlink registration from WP User’ 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  Josh 3 years, 2 months ago ago

Topic Tags


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