WordPress.org

Ready to get started?Download WordPress

Forums

User Role Editor
Controlling Screen Options? (4 posts)

  1. nickaster
    Member
    Posted 2 years ago #

    Hi there, I have some custon fields and so on that I'd rather not have my contributors messing with. In fact, I don't want them to be able to edit the "screen options" at all.

    Is there any way to set a standard set up screen options and just keep people from changing it?

    http://wordpress.org/extend/plugins/user-role-editor/

  2. Vladimir Garagulya
    Member
    Plugin Author

    Posted 2 years ago #

    WP doesn't check user capability to decide if show or hide Screens Options. So URE will not help you directly with it.
    But you can use 'screen_options_show_screen' filter to fully hide this interface element from user.
    Something like this:

    function hide_screen_options() {
      return false;
    }
    
    add_filter('screen_options_show_screen', 'hide_screen_options');
  3. nickaster
    Member
    Posted 2 years ago #

    Interesting... do you know if it's possible to create a default for any user at the contributor level? Then I can hide it like you say. Then when I create a new user they will see the default that I set up?

  4. muchacho79
    Member
    Posted 2 years ago #

    I know this is an old post but I'm after the same thing.

    The ability to give a certain level/user a default 'Screen Options' and better still if that was locked.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic