Return to Snippet

Revision: 72747
at November 28, 2017 06:06 by cusmin


Initial Code
if ( ! function_exists( 'cusmin_theme_remove_color_scheme' ) ) {
    function cusmin_theme_remove_color_scheme(){
        remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
    }
    add_action('admin_init', 'cusmin_theme_remove_color_scheme');
}

Initial URL
php, wordpress

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

Initial Title
Remove color scheme from user profile page in WordPress

Initial Tags


Initial Language
PHP