SP.Publishing.SiteServicesAddins.getPlugin Method (sp.publishing)
Gets the SP.Publishing.AddinPlugin object (sp.publishing) object and its SP.Publishing.AddinPlugin.title property (sp.publishing) property.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Publishing.SiteServicesAddins.getPlugin(context)
Parameters
context
pluginName
The title of the social plugin.
Return value
SP.Publishing.AddinPlugin
The AddinPlugin object with the specified title if the specified AddinPlugin object exists; otherwise, null.