Remove color scheme from user profile page in WordPress


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

URL: php, wordpress

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.