Search...
getSiteDisplayName( )
Gets the site display name.
Description
Retrieves the site display name, which is the name that has been entered in the Website Settings section of the site's Dashboard.
Syntax
function getSiteDisplayName(): string
getSiteDisplayName Parameters
This function does not take any parameters.
Returns
The site display name.
Return Type:
string
Was this helpful?
Get the site display name
Copy Code
1import wixSiteFrontend from 'wix-site-frontend';23const siteName = wixSiteFrontend.getSiteDisplayName(); // "My Site"