PublishPluginInstance.getCurrentSlug method
PublishPluginInstance › getCurrentSlug
Unofficial
Get the slug of the current site.Signature:
getCurrentSlug(): Promise<string>Returns: Promise<string> — The site's slug, or its id when the lookup fails.
PublishPluginInstance › getCurrentSlug
Unofficial
Get the slug of the current site.Signature:
getCurrentSlug(): Promise<string>Returns: Promise<string> — The site's slug, or its id when the lookup fails.