Home / admin / Remove admin color scheme picker from profile
  • How to Remove admin color scheme picker from profile


    Adding this snippet to the functions.php of your wordpress theme will remove the admin color scheme picker from the profile page.

    wordpress snippet : PHP

      remove_action("admin_color_scheme_picker", "admin_color_scheme_picker");

    ( WordPress codex functions, hooks, in this snippet. )

    remove_action, is_admin,
  • Excellent, thanks :) Let’s bomb that old blue look!

    • No problem Andrew glad to hear you like the wordpress snippet!

  • Great, thanks! I wanted the option removed for subscribers, too, so I did this:

    if ( array( ‘is_admin()’, ‘is_subscriber()’ ) ) {
    remove_action(“admin_color_scheme_picker”, “admin_color_scheme_picker”);

  • jamzth

    Also, remove the if statement to remove the Picker for everybody. In conduction with this hook, you can add the following to set a default scheme that is to your liking:

    //Set Default Color Scheme
    add_filter(‘get_user_option_admin_color’, ‘change_admin_color’);
    function change_admin_color($result) {
    return ‘ocean’;

    Just in case, anybody is interested. Thanks so much for this post! It helped a bunch!