HTMLPurifier_HTMLDefinition::addAttribute
Adds a custom attribute to a pre-existing element
Signature
Parameters
$element_name
— object- element name to add attribute to
$attr_name
— object- name of attribute
$def
— object- definition, can be string or object, see
HTMLPurifier_AttrTypes for details