WP_HTML_Open_Elements::has_p_in_button_scope(): bool

In this article

Returns whether a P is in BUTTON scope.

Description

See also

Return

bool Whether a P is in BUTTON scope.

Source

 */
public function has_element_in_button_scope( $tag_name ) {
	return $this->has_element_in_specific_scope( $tag_name, array( 'BUTTON' ) );

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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