Returns whether a particular element is in button scope.
Description
<blockquote> The stack of open elements is said to have a particular element in button scope when it has that element in the specific scope consisting of the following element types: <ul> <li>All the element types listed above for the has an element in scope algorithm.</li> <li>button in the HTML namespace</li> </ul> </blockquote>
Signature, return type and hooks compared across 5 parsed releases.
6.7.0
Supports all required HTML elements.from the docblock
6.4.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-includes/html-api/class-wp-html-open-elements.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.