WP_HTML_Tag_Processor::skip_rawtext
Skips contents of generic rawtext elements.
Method of the class: WP_HTML_Tag_Processor{}
No Hooks.
Returns
true|false. Whether an end to the RAWTEXT region was found before the end of the document.
Usage
// private - for code of main (parent) class only $result = $this->skip_rawtext( $tag_name ): bool;
- $tag_name(string) (required)
- The uppercase tag name which will close the RAWTEXT region.
Notes
Changelog
| Since 6.3.2 | Introduced. |
WP_HTML_Tag_Processor::skip_rawtext() WP HTML Tag Processor::skip rawtext code WP 7.0
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 );
}