WordPress.org

Ready to get started?Download WordPress

Forums

Limit Registration Domain for Some Users (1 post)

  1. joel8520
    Member
    Posted 9 months ago #

    I am trying to create two distinct user roles on my webpage. One will require a .edu email to sign up the other will not. So far I have found this plugin to help validate.

    user-domain-whitelist

    But I need to figure out where/how to add a if-then statement in order to only validate the emails who want to be a student user and need the .edu.
    I have radio buttons set up on registration to distinguish the two roles.

    What file do I need to edit it to make this work?

Reply

You must log in to post.

About this Topic