WP_HTML_Processor::get_unsupported_exception()publicWP 6.7.0

Returns context for why the parser aborted due to unsupported HTML, if it did.

This is meant for debugging purposes, not for production use.

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

Хуков нет.

Возвращает

WP_HTML_Unsupported_Exception|null.

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

$WP_HTML_Processor = new WP_HTML_Processor();
$WP_HTML_Processor->get_unsupported_exception();

Заметки

  • Смотрите: self::$unsupported_exception

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

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

Код WP_HTML_Processor::get_unsupported_exception() WP 6.8.1

public function get_unsupported_exception() {
	return $this->unsupported_exception;
}