WP_HTML_Processor::remove_class( string $class_name ): bool

In this article

Removes a class name from the currently matched tag.

Parameters

$class_namestringrequired
The class name to remove.

Return

bool Whether the class was set to be removed.

Source

public function remove_class( $class_name ) {
	return $this->is_virtual() ? false : parent::remove_class( $class_name );
}

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

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