class@anonymous::get_span(): WP_HTML_Span

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.

Gets the span for the current token.

Return

WP_HTML_Span Current token span.

Source

private function get_span(): WP_HTML_Span {
	// Note: This call will never fail according to the usage of this class, given it is always called after ::next_tag() is true.
	$this->set_bookmark( 'here' );
	return $this->bookmarks['here'];
}

User Contributed Notes

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