function get_api_host() { if (isset($this->api_endpoint)) { return $this->api_endpoint; } //Check to see if we can use SSL $this->api_endpoint = Jetpack::fix_url_for_bad_hosts(JETPACK_PROTECT__API_HOST); return $this->api_endpoint; }