WP_HTML_Open_Elements::has_element_in_select_scope( string $tag_name ): bool

Returns whether a particular element is in select scope.

Description

See also

Parameters

$tag_namestringrequired
Name of tag to check.

Return

bool Whether given element is in scope.

Source

public function has_element_in_select_scope( $tag_name ) {
	throw new WP_HTML_Unsupported_Exception( 'Cannot process elements depending on select scope.' );

	return false; // The linter requires this unreachable code until the function is implemented and can return.
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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