Returns whether the delimiter contains the closing flag.
Description
This should be avoided except in cases of custom error-handling with block closers containing the void flag. For normative use, WP_Block_Processor::get_delimiter_type().
Source
public function has_closing_flag(): bool {
return $this->has_closing_flag;
}
Changelog
| Version | Description |
|---|---|
| 6.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.