SP.Taxonomy.TermStore.contentTypePublishingHub property (sp.taxonomy)

Gets the URI of the SP.Site object (sp.js) object used as the content type syndication hub, if it exists.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Taxonomy.TermStore.get_contentTypePublishingHub()

Return value

The URI of the Site used as the content type syndication hub, if it exists; null if the hub does not exist.