How to Disable the Screen Options Button in WordPress?

 

Do you wish to disable the screen preferences button in WordPress? Basically the screen preferences permits you to display and hide elements on disparate pages via WordPress administration area. Here we are going to discuss how to disable the screen preferences button in WordPress on your WordPress hosting account.

 

 

For What Reason You May Want to Disable Screen Options Button?

Screen option is available on the top right side corner of various pages in your WordPress dashboard section. It enables each signed in user to display and hide things on several segments of the WordPress administration area.

 

There are numerous of WordPress website owners running multi-author WordPress blogs. With the help of screen options button any of their author may by mistake uncheck some important things.

Such as on the the posts or pages edit windows users can show or hide modify author field, custom fields, categories and many more.

 

 

Hiding Screen Options Button Utilizing Plugin

One of the easiest and suggested way for all the users is Plugin. First and foremost thing you need to do is install and activate the plugin named as Adminimize.

  

Once activation is completed you need to go to Setting > Adminimize page in order to configure the plugin settings.

 

You will find the list of portions. Here on this screen you have to hit the Global Options link, and then it will take you down to a seperate portion tabs. On that specific tab, you have to one more time hit the Global Options tab so that you can expand it.

This will be expanding tab, and you will be seeing a pack of choices to show and hide in your WordPress administrator area. You have to check the boxes beside 'Screen Options'.

The given plugin will enables you to disable it for all other users as well as chosen user roles.

 

Once you are done with this process, do not forget to hit the update tab in order to save your settings.

Disable Screen Options Button in WordPress Manually

This way of disabling Screen option needs you to add code in your WordPress files. In case you do not have any idea about this, feel free to contact us.

To perform this step you will have to add the below mentioned code to your WordPress theme’s functions.php folder or to any particular page.

 

 

1

2

3

4

5

6

7

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');

The above code will remove the screen options button from WordPress for all users except primary user.

 

After completing above procedure you can switch to any other user account which is main account. And after that visit to the main user account, you will come to know the difference.

Hope you learn how to disable screen options button in Wordpress on your WordPress hosting account. If you need more information, feel free to contact our 24/7 technical support team.