WordPress.org

Support

Support » Plugins and Hacks » User Role Editor » [Plugin: User Role Editor] Controlling Screen Options?

[Plugin: User Role Editor] Controlling Screen Options?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vladimir Garagulya

    @shinephp

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

    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?

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: User Role Editor] Controlling Screen Options?’ is closed to new replies.
Skip to toolbar