function server_url() { if (!isset($this->_server_url)) { $scheme = is_ssl() ? 'https' : 'http'; $this->_server_url = sprintf('%s://%s/', $scheme, $this->get_option('hostname')); } return $this->_server_url; }