WP_HTML_Processor_State::__construct()publicWP 6.4.0

Constructor - creates a new and empty state value.

Method of the class: WP_HTML_Processor_State{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_HTML_Processor_State = new WP_HTML_Processor_State();
$WP_HTML_Processor_State->__construct();

Notes

Changelog

Since 6.4.0 Introduced.

WP_HTML_Processor_State::__construct() code WP 6.7.1

public function __construct() {
	$this->stack_of_open_elements     = new WP_HTML_Open_Elements();
	$this->active_formatting_elements = new WP_HTML_Active_Formatting_Elements();
}