Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,902
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
Yes, that is possible by removing the following capabilities from the role:
edit_users
create_users
delete_users
Once it is removed from the role then users from that particular role will not be able to create/edit/delete users.
Please follow this link: https://codex.wordpress.org/Function_Reference/remove_cap
Thanks