• Is there a way to make it so that the plugin will allow you to moderate registration for only specific user roles? For instance, I have 2 user roles at registration: male and female. I want the males to go through the regular email activation process but I want the admin to moderate the female user role.

    What changes or edits in functions.php do I need to make in order to make this happen?

    https://www.ads-software.com/plugins/wp-members/

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    That sounds pretty straight forward on the surface, but in practical application it requires some custom code snippets. You can set one as active on registration, and that part is easy – hooking the process to the wpmem_post_register_data action.

    However, there would be additional considerations beyond that because one would have the password set right away and sent to them with one email, but the other would be the standard process of requiring activation before the email is sent. So it could be done, but there’s more to it than just setting one user type as active and the other not.

Viewing 1 replies (of 1 total)
  • The topic ‘Moderate based on user role’ is closed to new replies.