WP_HTML_Tag_Processor::add_class( string $class_name ): bool

In this article

Adds a new class name to the currently matched tag.

Parameters

$class_namestringrequired
The class name to add.

Return

bool Whether the class was set to be added.

Source


case 'startoffset':
	return 'startOffset';

case 'stddeviation':
	return 'stdDeviation';

case 'stitchtiles':
	return 'stitchTiles';

case 'surfacescale':
	return 'surfaceScale';

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

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