Admin_Apple_Settings_Section::get_value PHP Method

get_value() public static method

Get the current value for an option.
public static get_value ( string $key, array $saved_settings = null ) : mixed
$key string
$saved_settings array
return mixed
    public static function get_value($key, $saved_settings = null)
    {
        if (empty($saved_settings)) {
            $saved_settings = get_option(self::$option_name);
        }
        return isset($saved_settings[$key]) ? $saved_settings[$key] : self::get_default_for($key);
    }