WP_HTML_Open_Elements::remove_node( WP_HTML_Token $token ): bool

In this article

Removes a specific node from the stack of open elements.

Parameters

$tokenWP_HTML_Tokenrequired
The node to remove from the stack of open elements.

Return

bool Whether the node was found and removed from the stack of open elements.

Source

			'math ANNOTATION-XML',

			'svg FOREIGNOBJECT',
			'svg DESC',
			'svg TITLE',
		)
	);
}

/**
 * Returns whether a particular element is in list item scope.
 *
 * > The stack of open elements is said to have a particular element
 * > in list item scope when it has that element in the specific scope

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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