Change WordPress user roles and capabilities › Forums › How to or FAQ › Remove superadmin role from the “change role to” menu in user listing › Reply To: Remove superadmin role from the “change role to” menu in user listing
23/07/2017 at 16:35 #4016
Thanks! But, it seems, there is a mistake in above code: both the arguments of add_filter() function are same.
Just now I stumbled upon a post where you have provided solution for a similar case. Here is the link. This post raises some doubt for me. Which code should I use? Also, is it sure that it will not be addressed in any of future updates? Will my mu-plugin not interfere with any such update in future.