function themezee_get_default_options()
{
    $options = array();
    // Fetch all Tabs from theme-settings.php
    $tabs = themezee_get_settings_page_tabs();
    foreach ($tabs as $tab => $name) {
        $themezee_settings = themezee_get_settings($tab);
        foreach ($themezee_settings as $setting) {
            if ($setting['type'] != 'multicheckbox') {
                $options[$setting['id']] = $setting['std'];
            } else {
                foreach ($setting['choices'] as $value => $label) {
                    $checkbox = $setting['id'] . '_' . $value;
                    $options[$checkbox] = $setting['std'];
                }
            }
        }
    }
    return $options;
}
function themezee_options_validate($input)
{
    $themezee_settings = themezee_get_settings();
    foreach ($themezee_settings as $setting) {
        if ($setting['type'] == 'checkbox' and !isset($input[$setting['id']])) {
            $options[$setting['id']] = 'false';
        } elseif ($setting['type'] == 'radio' and !isset($input[$setting['id']])) {
            $options[$setting['id']] = 1;
        } else {
            $options[$setting['id']] = esc_attr(trim($input[$setting['id']]));
        }
    }
    return $options;
}