You are here

private function AddThis::getWidgetUrl in AddThis 7.4

Get the url for the AddThis Widget.

File

classes/AddThis.php, line 437
An AddThis-class.

Class

AddThis
@file An AddThis-class.

Code

private function getWidgetUrl() {
  $url = $this
    ->currentlyOnHttps() ? $this
    ->getBaseWidgetJsUrl() : $this
    ->transformToSecureUrl($this
    ->getBaseWidgetJsUrl());
  return check_url($url);
}