I need to hide the html editor for all users except the admins. I have located the line that shows the button in class-wp-editor.php and when I comment it out it disappears. When I wrap it in a if statement if(current_user_can('level_10')) it still appears. I found this code in the forums to be used to check for admin user but it seems to not work. Any ideas on how to accomplish this some other way or get current_user_can function to work how I want it to?