WP_HTML_Open_Elements::has_element_in_table_scope( string $tag_name ): bool

Returns whether a particular element is in table scope.

Description

See also

Parameters

$tag_namestringrequired
Name of tag to check.

Return

bool Whether given element is in scope.

Source

 *
 * @param string $identity Check if the current node has this name or type (depending on what is provided).
 * @return bool Whether there is a current element that matches the given identity, whether a token name or type.
 */
public function current_node_is( string $identity ): bool {

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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