WP_HTML_Tag_Processor::skip_rawtext
Skips contents of generic rawtext elements.
Метод класса: WP_HTML_Tag_Processor{}
Хуков нет.
Возвращает
bool. Whether an end to the RAWTEXT region was found before the end of the document.
Использование
// private - только в коде основоного (родительского) класса $result = $this->skip_rawtext( $tag_name ): bool;
- $tag_name(строка) (обязательный)
- The uppercase tag name which will close the RAWTEXT region.
Заметки
| Смотрите: https://html.spec.whatwg.org/#generic-raw-text-element-parsing-algorithm |
Список изменений
| С версии 6.3.2 | Введена. |
Код WP_HTML_Tag_Processor::skip_rawtext() WP HTML Tag Processor::skip rawtext WP 7.1.4
private function skip_rawtext( string $tag_name ): bool {
/*
* 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 );
}