WP_HTML_Open_Elements::pop(): bool

Pops a node off of the stack of open elements.

Description

See also

Return

bool Whether a node was popped off of the stack.

Source

public function pop() {
	$item = array_pop( $this->stack );

	if ( null === $item ) {
		return false;
	}

	$this->after_element_pop( $item );
	return true;
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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