You are here

public function AddThisScriptManager::getWidgetJsUrl in AddThis 7.4

Get the current widget js url.

Return value

string A url reference to the widget js.

1 call to AddThisScriptManager::getWidgetJsUrl()
AddThisScriptManager::attachJsToElement in classes/Services/AddThisScriptManager.php
Attach the widget js to the element.

File

classes/Services/AddThisScriptManager.php, line 52
Class definition of a script manager.

Class

AddThisScriptManager
@file Class definition of a script manager.

Code

public function getWidgetJsUrl() {
  return check_url(variable_get(AddThis::WIDGET_JS_URL_KEY, AddThis::DEFAULT_WIDGET_JS_URL));
}