remove_attribute
remove_attribute($name_attr); - remove an attribute from an element in the DOM model
The function accepts parameters as input:
$name_attr – name of the attribute to be removed from the element (string).
After testing, the function returns the result of its work to the script (the return value type is boolean):
true – completed successfullyfalse – it was not possible to find such an element (for example, there are no elements that meet the specified criteria or there is no such frame)