WP_HTML_Open_Elements::count(): int

In this article

Returns how many nodes are currently in the stack of open elements.

Return

int How many node are in the stack of open elements.

Source

public function count() {
	return count( $this->stack );
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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