Hiding Elements for other admins
-
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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Hiding Elements for other admins’ is closed to new replies.