WP_HTML_Tag_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 'markerunits':
	return 'markerUnits';

case 'markerwidth':
	return 'markerWidth';

case 'maskcontentunits':
	return 'maskContentUnits';

case 'maskunits':
	return 'maskUnits';

case 'numoctaves':
	return 'numOctaves';

case 'pathlength':
	return 'pathLength';

case 'patterncontentunits':
	return 'patternContentUnits';

case 'patterntransform':
	return 'patternTransform';

case 'patternunits':
	return 'patternUnits';

case 'pointsatx':
	return 'pointsAtX';

case 'pointsaty':
	return 'pointsAtY';

case 'pointsatz':
	return 'pointsAtZ';

case 'preservealpha':
	return 'preserveAlpha';

case 'preserveaspectratio':
	return 'preserveAspectRatio';

case 'primitiveunits':
	return 'primitiveUnits';

case 'refx':
	return 'refX';

case 'refy':
	return 'refY';

case 'repeatcount':
	return 'repeatCount';

case 'repeatdur':
	return 'repeatDur';

case 'requiredextensions':
	return 'requiredExtensions';

case 'requiredfeatures':
	return 'requiredFeatures';

case 'specularconstant':
	return 'specularConstant';

case 'specularexponent':
	return 'specularExponent';

case 'spreadmethod':
	return 'spreadMethod';

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

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