WP_HTML_Processor::next_token(): bool

In this article

Finds the next token in the HTML document.

Description

This doesn’t currently have a way to represent non-tags and doesn’t process semantic rules for text nodes. For access to the raw tokens consider using WP_HTML_Tag_Processor instead.

Return

bool Whether a token was parsed.

Source

public function next_token(): bool {
	return $this->next_visitable_token();
}

Changelog

VersionDescription
6.7.2Refactored so subclasses may extend.
6.5.0Introduced.

User Contributed Notes

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