WP_Block_Processor::is_html
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() WP Block Processor::is html code WP 7.0.2
public function is_html(): bool {
return self::HTML_SPAN === $this->state;
}