Pushes a node onto the stack of open elements.
Description
See also
Parameters
$stack_itemWP_HTML_Tokenrequired- Item to add onto stack.
Source
public function push( WP_HTML_Token $stack_item ): void {
$this->stack[] = $stack_item;
$this->after_element_push( $stack_item );
}
Changelog
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.