WP_Block_Processor::has_closing_flag(): bool

In this article

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().

Return

bool Whether the currently-matched block delimiter contains the closing flag.

Source

public function has_closing_flag(): bool {
	return $this->has_closing_flag;
}

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

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