public function remove_attribute($tag = 'body', $attribute_name) { $this->set_attributes($tag, html_attr_remove($this->get_attributes($tag), $attribute_name)); }
/** * Removes an attribute * * @param string|array $attributes Array of attributes or HTML attribute string * @param string $attribute Name of attribute to remove * * @return string A string with the rest of the attributes * * @deprecated Use html_attr_remove(). */ function remove_attribute($attributes, $name) { return html_attr_remove($attributes, $name); }