Thursday, October 18, 2012

Remove admin color scheme options from user profile

Adding this codeto the functions.php of your wordpress theme will remove the admin color scheme from the user profile.

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

No comments:

Post a Comment