WordPress.org

Forums

Limit Registration Domain for Some Users (1 post)

  1. joel8520
    Member
    Posted 1 year 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?

Topic Closed

This topic has been closed to new replies.

About this Topic