WP_HTML_Processor_State::__construct()publicWP 6.4.0

Constructor - creates a new and empty state value.

Метод класса: WP_HTML_Processor_State{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Заметки

Список изменений

С версии 6.4.0 Введена.

Код WP_HTML_Processor_State::__construct() WP 6.6.2

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