WP_HTML_Tag_Processor::skip_rawtext()privateWP 6.3.2

Skips contents of generic rawtext elements.

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

Хуков нет.

Возвращает

true|false. Whether an end to the RAWTEXT region was found before the end of the document.

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

// private - только в коде основоного (родительского) класса
$result = $this->skip_rawtext( $tag_name );
$tag_name(строка) (обязательный)
The uppercase tag name which will close the RAWTEXT region.

Заметки

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

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

Код WP_HTML_Tag_Processor::skip_rawtext() WP 6.6.2

private function skip_rawtext( $tag_name ) {
	/*
	 * These two functions distinguish themselves on whether character references are
	 * decoded, and since functionality to read the inner markup isn't supported, it's
	 * not necessary to implement these two functions separately.
	 */
	return $this->skip_rcdata( $tag_name );
}