Hello, we are trying to find a way to verify our registrants (college students) identities, and the best I have come up with is to require that their email address be their college provided emails. We have a single domain (@stlcc.edu), so I was thinking I could restrict emails as advised in https://eventespresso.com/topic/ee3-limit-registrants-email-address/
Since that conversation pertained to EE3, would I use something very different to accomplish this task in EE4? If you know of a better or easier way to accomplish the same goal, I’m all ears!
You can use the WordPress is_email filter hook to perform custom email validation. There’s some example code in this gist that shows an example of how to use the filter hook:
You can add the above to a functions plugin. The above filter function will be applied if you have the “Email Validation Level” option set to “WordPress Default” in Event Espresso > Registration Form > Reg Form Settings.
The support post ‘Restrict Registrant's email address’ 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.