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':
	/*
	 * > Act as described in the "anything else" entry below.

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

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