{"id":72119,"date":"2012-02-19T09:49:47","date_gmt":"2012-02-19T14:49:47","guid":{"rendered":"http:\/\/wpmu.org\/?p=72119"},"modified":"2012-11-20T15:11:31","modified_gmt":"2012-11-20T20:11:31","slug":"daily-tip-how-to-remove-admin-color-scheme-options-in-wordpress","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-how-to-remove-admin-color-scheme-options-in-wordpress\/","title":{"rendered":"How to Remove Admin Color Scheme Options in WordPress"},"content":{"rendered":"<p>So maybe you like the grey option for the WordPress admin color scheme but you think the blue is hideous and you hope that none of your users have set it to blue and forget how to change it back. Or maybe you&#8217;ve created your own custom color scheme for the admin and you don&#8217;t want it changed. Here&#8217;s a quick code snippet that will remove the option from Your <strong>Profile &gt;&gt; Personal Options<\/strong>.<\/p>\n<p><a rel=\"lightbox[72119]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/02\/remove.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-72122\" title=\"remove\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2012\/02\/remove.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"750\" height=\"358\" \/><\/a><\/p>\n<p>Add this to your <i>functions.php<\/i> file:<br \/>\n{code type=php}<br \/>\nremove_action( &#8216;admin_color_scheme_picker&#8217;, &#8216;admin_color_scheme_picker&#8217; );<\/p>\n<p>Just click save and you&#8217;ll see that the admin color scheme options are no longer available. Quick and easy, right? Many thanks to <a href=\"https:\/\/twitter.com\/#!\/nacin\" rel=\"noopener\" target=\"_blank\">@Nacin<\/a> for sending us this tip!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So maybe you like the grey option for the WordPress admin color scheme but you think the blue is hideous and you hope that none of your users have set it to blue and forget how to change it back. Or maybe you&#8217;ve created your own custom color scheme for the admin and you don&#8217;t [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":72128,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[10211,390],"tutorials_categories":[],"class_list":["post-72119","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-admin","tag-code"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/72119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=72119"}],"version-history":[{"count":1,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/72119\/revisions"}],"predecessor-version":[{"id":215951,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/72119\/revisions\/215951"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/72128"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=72119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=72119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=72119"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=72119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}