Hi,
I am trying to hide certain admin elements for other administrator users as I am trying to get rid of any items they should not need to simplify the backend
This what i have so far but its not working
global $current_user;
if($current_user->user_login != 'webmaster')
{
// Do stuff here
}
This is put into a custom plugin it hides everything I need but it seems to ignore the user 'webmaster' is well and also hides the elements.
Any suggestions on why this is not working?
Thanks in advance