Returns whether a particular element is in select scope.
Description
The "select scope" concept was removed from the HTML standard along with the customizable <select> changes, so nothing is ever in select scope. <blockquote> The stack of open elements is said to have a particular element in select scope when it has that element in the specific scope consisting of all element types except the following: <ul> <li>optgroup in the HTML namespace</li> <li>option in the HTML namespace</li> </ul> </blockquote>
Signature, return type and hooks compared across 5 parsed releases.
7.1.0
Deprecated. This method is no longer part of the HTML standard.from the docblock
6.7.0
Full implementation.from the docblock
6.4.0
Stub implementation (throws).from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 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.