W3cubDocs

/WordPress

WP_HTML_Processor::is_virtual(): bool

Indicates if the currently-matched token is virtual, created by a stack operation while processing HTML, rather than a token found in the HTML text itself.

Return

bool Whether the current token is virtual.

Source


	if ( $this->matches_breadcrumbs( $breadcrumbs ) && 0 === --$match_offset ) {
		return true;
	}
}

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_html_processor/is_virtual