Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Hide Admin


r-a-y
Keymaster

@r-a-y

The snippet only works on WPMU.

If you’re using standard WP, replace is_site_admin() with if(current_user_can(‘manage_options’)) (thanks Brajesh).

Also, you could try adding the function in your theme’s functions.php (omit the add_action line).

Skip to toolbar