Posted By

cusmin on 11/28/17


Tagged


Versions (?)

Remove color scheme from user profile page in WordPress


 / Published in: PHP
 

URL: php, wordpress

Remove color scheme on user profile page. Add this to theme's functions.php

  1. if ( ! function_exists( 'cusmin_theme_remove_color_scheme' ) ) {
  2. function cusmin_theme_remove_color_scheme(){
  3. remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
  4. }
  5. add_action('admin_init', 'cusmin_theme_remove_color_scheme');
  6. }

Report this snippet  

You need to login to post a comment.