VaultPress::server_url PHP Method

server_url() public method

public server_url ( )
    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;
    }
VaultPress