WP_HTML_Tag_Processor::__toStringpublicWP 6.2.0

Returns the string representation of the HTML Tag Processor.

Method of the class: WP_HTML_Tag_Processor{}

No Hooks.

Returns

String. The processed HTML.

Usage

$WP_HTML_Tag_Processor = new WP_HTML_Tag_Processor();
$WP_HTML_Tag_Processor->__toString(): string;

Notes

Changelog

Since 6.2.0 Introduced.

WP_HTML_Tag_Processor::__toString() code WP 6.9

public function __toString(): string {
	return $this->get_updated_html();
}