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.

Authorization

Request

This endpoint does not take any parameters

Response Object

The site display name.

Returns an empty object.

Status/Error Codes

Was this helpful?

Get the site display name

Copy Code
1import wixSite from 'wix-site';
2
3const siteName = wixSite.getSiteDisplayName(); // "My Site"