WP_HTML_Active_Formatting_Elements::insert_marker()

In this article

Inserts a “marker” at the end of the list of active formatting elements.

Description

The markers are inserted when entering applet, object, marquee, template, td, th, and caption elements, and are used to prevent formatting from "leaking" into applet, object, marquee, template, td, th, and caption elements.

See also

Source

public function insert_marker(): void {
	$this->push( new WP_HTML_Token( null, 'marker', false ) );
}

Changelog

VersionDescription
6.7.0Introduced.

User Contributed Notes

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