/** * return the name of the SS2 hoster, when set indicates a full SS2 setup with this name as hosting partner, * otherwise returns $default * * @param $default * @return bool */ public function filter_swifty_SS2_hosting_name($default) { if (!isset(self::$filter_swifty_SS2_hosting_name)) { self::$filter_swifty_SS2_hosting_name = get_option('ss2_hosting_name'); } return $default || self::$filter_swifty_SS2_hosting_name; }