You can remove the ‘screen options’ tab completely from your WordPress admin area by adding this to your theme’s function.php file
1 2 3 4 5 |
// Hide 'Screen Options' tab function remove_screen_options_tab() { return false; } add_filter('screen_options_show_screen', 'remove_screen_options_tab'); |
You can also remove the ‘Help’ tab from the admin area in the same manner:
1 2 3 4 5 6 7 |
// Hide Help tab function hide_help() { echo '<style type="text/css"> #contextual-help-link-wrap { display: none !important; } </style>'; } add_action('admin_head', 'hide_help'); |
6 years ago ·
Thanks buddy. Its great…… worked perfectly for me…….Thanks again
6 years ago ·
Thank you! Just what I needed!
5 years ago ·
amazing, simple trick but give more effect …
thx brother
2 years ago ·
What I do, when i remove only the rule of editor, author and the rest? only not administrator or the super admin user xy?