Skip to content

readNetworkSiteName

readNetworkSiteName(xml): string | undefined

Defined in: siteMetadataXml.ts:111

Read a Network metadata document’s <site> element — the CustomSite API name it belongs to.

string

The contents of a networks/*.network-meta.xml file.

string | undefined

The <site> value, or undefined if the element is absent.

If xml isn’t parseable.