WP_HTML_Processor::is_virtual(): bool

In this article

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.

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


/**
 * Returns the last error, if any.
 *
 * Various situations lead to parsing failure but this class will
 * return `false` in all those cases. To determine why something

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

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