Change WordPress user roles and capabilities › Forums › How to or FAQ › Promote users capability › Reply To: Promote users capability
05/09/2021 at 12:23
#7679
abmex
Participant
Thanks for trying to help, but this didn’t work.
This piece of code only removed the Capabilities field with the ‘edit capabilities” link, but the entire section “Additional capabilities” including the dropdown field “Other Roles” is still there.
https://www.dropbox.com/s/4m3dxb1yikwwvq2/Screen%20Shot%202021-09-05%20at%207.15.25%20AM.png?dl=0
I only want the “Manager” role I’ve created to be able to change the user role of other users (let’s say from Subscriber to Contributor), but restrict it to a maximum of manager. I don’t want an extra field/section to assign ADDITIONAL roles or capabilities.