WP_Block_Processor::has_closing_flag
Returns whether the delimiter contains the closing flag.
This should be avoided except in cases of custom error-handling with block closers containing the void flag. For normative use, {@see self::get_delimiter_type()}.
Method of the class: WP_Block_Processor{}
No Hooks.
Returns
true|false. Whether the currently-matched block delimiter contains the closing flag.
Usage
$WP_Block_Processor = new WP_Block_Processor(); $WP_Block_Processor->has_closing_flag(): bool;
Changelog
| Since 6.9.0 | Introduced. |
WP_Block_Processor::has_closing_flag() WP Block Processor::has closing flag code WP 6.9.1
public function has_closing_flag(): bool {
return $this->has_closing_flag;
}