Delete Default WordPress Role before running User Verification
-
The User Verification “Exclude user role” feature is awesome, but I am seeking some help to make it work with Memberpress.
Memberpress allows me to add a role upon signup. I created two roles, Pending and Activated. I want UV to send the verification email to Pending and exclude Activated.
Unfortunately, WordPress automatically adds a default role of Subscriber. So when Memberpress adds a new role, the outcome is either:
Subscriber + Pending, or
Subscriber + ActivatedI am not able to apply the “Exclude user role” feature to these cases.
1) Can you provide a snippet to remove the Subscriber role before UV runs?
2) Or, is there a way to set the default WordPress user role to “none”?Thanks!!
- The topic ‘Delete Default WordPress Role before running User Verification’ is closed to new replies.