I have set up a WP multi-site with custom roles. One of the roles can add users. I need a solution to only show two roles available to the limited role on add user and leave all user types available to administrator. This code snipped works great for removing Administrator mode, but I don't understand enough of it to know if I could expand it to exclude other roles as well. Any help appreciated.
Simple all you need to do is edit this part of the code :
and change it to