Disable help menu for admins only
In the upper right corner of the admin panel there is a HELP menu. This menu, in my opinion, no one uses. Moreover, it is not necessary for those, who just publish articles. I propose to disable this menu for them and leave it only for administrators.
To disable the menu, add code to your theme's function.php file:
function hide_help() {
if(!is_admin()){
echo '';
}
}
add_action('admin_head', 'hide_help');For WordPress version later 3.1 use code:
function hide_help() {
if (!current_user_can('administrator')){
echo '';
}
}
add_action('admin_head', 'hide_help');You can also remove the button “display options” which is nearby, just need to add code:
function remove_screen_options(){
return false;
}
add_filter('screen_options_show_screen', 'remove_screen_options');
/*

- Basic web design course;
- Site layout;
- General course on CMS WordPress and continuation of the course on template development;
- Website development in PHP.




