WP_HTML_Tag_Processor::skip_rawtext( string $tag_name ): bool

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use https://html.spec.whatwg.org/#generic-raw-text-element-parsing-algorithm instead.

Skips contents of generic rawtext elements.

Description

See also

Parameters

$tag_namestringrequired
The uppercase tag name which will close the RAWTEXT region.

Return

bool Whether an end to the RAWTEXT region was found before the end of the document.

Source

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 );
}

Changelog

VersionDescription
6.3.2Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.