Gets the site display name.
Retrieves the site display name, which is the name that has been entered in the Website Settings section of the site's Dashboard.
function getSiteDisplayName(): string;
import wixSiteFrontend from "wix-site-frontend";
const siteName = wixSiteFrontend.getSiteDisplayName(); // "My Site"
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.