“No role for this site” not showing up in user role options
-
I’m wanting to change a user role to “no role for this site” when certain conditions are met (their subscription ends and their role is change from subscriber to customer). The trigger and filters work just fine, but when I get the action of changing user role, there is no option to assign no role, or specifically WP’s “No role for this site” option. I don’t want these users to be able to log in to WordPress at all, so effectively want them to have no role. “No role for this site” is a role option when editing a user manually, so why it is not an option on your “change user role” action? Can this please be added? Or is there some other way I can access it if not showing by default? Thanks!
- The topic ‘“No role for this site” not showing up in user role options’ is closed to new replies.