W3cubDocs

/WordPress

WP_HTML_Processor::remove_class( string $class_name ): bool

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

 */
in_head_anything_else:
$this->state->stack_of_open_elements->pop();

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_html_processor/remove_class