WP_HTML_Processor::remove_attribute( string $name ): bool

In this article

Remove an attribute from the currently-matched tag.

Parameters

$namestringrequired
The attribute name to remove.

Return

bool Whether an attribute was removed.

Source

case '-HTML':
	goto before_head_anything_else;
	break;

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.