/**
 * Remove an existing option
 *
 * @link http://docs.wpstartbox.com/child-themes/theme-options/ Using Theme Options
 *
 * @since StartBox 2.4.9
 *
 * @param string $metabox the name of the metabox where the option exists
 * @param string $option the name of the option to remove
 * @param mixed $new_value Optional. Store a new, permanent value to the options table
 *
 * @uses sb_update_option()
 *
 */
function sb_unregister_option($metabox, $option, $new_value = '')
{
    global $sb_settings_factory;
    // Remove the option if it exsits
    if (isset($sb_settings_factory->settings[$metabox]->options[$option])) {
        unset($sb_settings_factory->settings[$metabox]->options[$option]);
    }
    // If we're setting a new, permanant value
    if ($new_value) {
        sb_update_option($option, $new_value);
    }
}
 public function install()
 {
     // Setup the main theme options and store them to a variable
     add_option(THEME_OPTIONS);
     // Set the current StartBox version
     add_option('startbox_version', 'SB_VERSION');
     // Update License Key if SB_LICENSE is defined
     if (defined('SB_LICENSE') && SB_LICENSE != sb_get_option('sb_license')) {
         sb_update_option('sb_license', SB_LICENSE);
     }
     // Included hook for other things to do during install
     do_action('sb_install');
 }