You are here

public function AddThisWidgetJsUrl::removeAttribute in AddThis 7.4

Remove a attribute from the querystring.

File

classes/Util/AddThisWidgetJsUrl.php, line 29
Class to manage a WidgetJs url.

Class

AddThisWidgetJsUrl
@file Class to manage a WidgetJs url.

Code

public function removeAttribute($name) {
  if (isset($attributes[$name])) {
    unset($attributes[$name]);
  }
}