src/HyyanAdminColorSchema.php
/**
     * Remove color picker from profile page
     * 
     * this method will remove the color picker from profile page if the
     * "disable_color_picker" is set to true where default is false
     */
Remove color picker from profile page

this method will remove the color picker from profile page if the
"disable_color_picker" is set to true where default is false
Remove color picker from profile page this method will remove the color picker from profile page if the " disable_color_picker " is set to true where default is false
protected function removeColorPicker() {
        $setting = $this->getOptions();
        if (
                $setting['disable_color_picker'] == true
        ) {
            remove_action('admin_color_scheme_picker', 'admin_color_scheme_picker');
        }
    }
protected function removeColorPicker ( ) { $ setting = $ this -> getOptions ( ) ; if ( $ setting [ 'disable_color_picker' ] == true ) { remove_action ( 'admin_color_scheme_picker' , 'admin_color_scheme_picker' ) ; } }
Remove color picker from profile page
Remove color picker from profile page