Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › How can i hide Other Roles dropdown menu from user editor, Grant Role button… › Reply To: How can i hide Other Roles dropdown menu from user editor, Grant Role button…
17/03/2018 at 01:31
#4682
Vladimir
Keymaster
Hi Fotini,
Code above works for the user with ‘user-manager’ role only. Replace ‘user-manager’ with your own role ID or check if your user really has ‘user-manager’ role.