WP_Block_Processor::is_htmlpublicWP 6.9.0

Indicates if the matched delimiter is an HTML span.

Method of the class: WP_Block_Processor{}

No Hooks.

Returns

true|false. Whether the processor is matched on an HTML span.

Usage

$WP_Block_Processor = new WP_Block_Processor();
$WP_Block_Processor->is_html(): bool;

Notes

  • See: self::is_non_whitespace_html()

Changelog

Since 6.9.0 Introduced.

WP_Block_Processor::is_html() code WP 7.0.2

public function is_html(): bool {
	return self::HTML_SPAN === $this->state;
}