WP_HTML_Open_Elements::set_pop_handler( Closure $handler )

In this article

Sets a pop handler that will be called when an item is popped off the stack of open elements.

Description

The function will be called with the pushed item as its argument.

Parameters

$handlerClosurerequired
The handler function.

Source

public function set_pop_handler( Closure $handler ): void {
	$this->pop_handler = $handler;
}

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

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