WordPress.org

Ready to get started?Download WordPress

Forums

Adminimize
[resolved] Disabling color scheme option disables admin bar option (2 posts)

  1. Mike Stop Continues
    Member
    Posted 2 years ago #

    For the admin (possibly just super admin), disabling the color scheme option disables the admin bar option as well.

    http://wordpress.org/extend/plugins/adminimize/

  2. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    current is non an option for this requirement.

    you can use the follow snippet

    function admin_color_scheme() {
       global $_wp_admin_css_colors;
       $_wp_admin_css_colors = 0;
    }
    add_action('admin_head', 'admin_color_scheme');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags