Support

Home Forums Event Espresso Premium Bypassing email validation

Bypassing email validation

Posted: January 5, 2017 at 1:26 pm

Viewing 2 reply threads


modernearth

January 5, 2017 at 1:26 pm

When I am a logged in member and I register for multiple tickets let’s say 3 total.. I use 3 different emails, my own and two other members.. I get error messages on the 2 email address fields that aren’t my own, and I was wandering if there was a way to bypass this?… The reason for this is we have set up a custom user role ‘Government Member’ and he has a set amount of delegates who have their own custom user role ‘Delegate Member’ underneath them… These delegates have no user capabilities but we need to track their registration history hence the need to have them as a role… But we need to be able to allow the ‘Government Member’ to register his delegates for events.

Hopefully that makes sense what I am asking.


Josh

  • Support Staff

January 6, 2017 at 8:38 am

You can add this code to your website to disable that check:

add_filter( 'EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check', '__return_false' );

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


modernearth

January 6, 2017 at 2:58 pm

Thanks Josh!

Viewing 2 reply threads

The support post ‘Bypassing email validation’ 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