get_comment_delimited_block_content
get_comment_delimited_block_content ( $block_name, $block_attributes, $block_content )
Parameters:- (string|null) block_name Block name. Null if the block name is unknown, e.g. Classic blocks have their name set to null.
- (array) block_attributes Block attributes.
- (string) block_content Block save content.
Returns:- (string) Comment-delimited block content.
Defined at: - Introduced in WordPress: 5.3.1
- Deprecated in WordPress: —
Description
Returns the content of a block, including comment delimiters.