How to Remove The Screen Options Button from WordPress Dashboard Area

WordPress comes with a screen options button that you may have noticed in the top right corner of your dashboard area. This option allows you to show and hide elements throughout the WordPress admin area of your website.

Some of you may feel out of place with this feature as may be running a multi-author blog , and your authors may accidentally uncheck something that is important.

How to Remove The Screen Options Button from WordPress Dashboard Area

For example, on the posts edit screen, the user can show/hide change tag field, featured image section, discussion and more. If you disable the ‘screen-options-button’ in WordPress, you can control the admin view for all users.

Well…let’s see how easily we can hide the screen options button in WordPress.

Method 1: Hiding Screen Options Button Using Plugin

There are ready-made plugins available in the WordPress directory. One can use the most popular plugin called Adminimize to hide these options from their website.

The first thing you need to do is to install and activate the Adminimize plugin. Once you have activated the plugin, go to the Settings » Adminimize page to configure plugin settings.

How to Remove The Screen Options Button from WordPress Dashboard Area

You will find a list of sections available on this page. Now, you just need to click on the Global Options link, and it will take you to a different section tab.

How to Remove The Screen Options Button from WordPress Dashboard Area

On that tab, you need to once again click on the Global Options tab to expand it. It will expand the tab, and you will see a bunch of options to show and hide in your WordPress admin area.

How to Remove The Screen Options Button from WordPress Dashboard Area

You need to check the boxes next to ‘Screen Options’. Now, you can select the users accordingly. Once you are done, then click on the update options button to save your settings.

You can now visit any page in the admin area that showed Screen Options button like the dashboard or post/page edit screens, and you will notice that Screen Options button is now disabled.

This powerful plugin will let you change the WordPress admin area by selectively showing or hiding different items.

Method 2: Manually Disable Screen Options Button in WordPress

If you don’t want to use the plugin and want to change it manually then you need to add below code to your WordPress files theme’s functions.php or a site-specific plugin.

function wpb_remove_screen_options() {
if(!current_user_can('manage_options')) {
return false;
}
return true;
}
add_filter('screen_options_show_screen', 'wpb_remove_screen_options');

Using the above code will remove the screen options button for all users except administrators. You can check this by switching to any other user’s account that is not an administrator. You will notice that Screen Options button has disappeared from the Dashboard area.

We believe that this article was helpful for you to disable screen options button in WordPress. You may also consider reading our other articles on how to submit your website to the Google Search Console.

SEE ALSO: Here are the easiest ways to display WordPress comment count

SEE ALSO: How to Secure Your WordPress Website

Leave a comment