$block_content = '';
$index = 0;
foreach ( $block['innerContent'
] as $chunk ) { $block_content .=
is_string( $chunk ) ?
$chunk :
serialize_block( $block['innerBlocks'
][ $index++
] );
} if ( !
is_array( $block['attrs'
] ) ) { $block['attrs'
] = array
();
} return get_comment_delimited_block_content( $block['blockName'
],
$block['attrs'
],
$block_content );
}/**
* Returns a joined string of the aggregate serialization of the given
* parsed blocks.
*
* @since 5.3.1
*
* @param array[] $blocks An array of representative arrays of parsed block objects. See serialize_block().
* @return string String of rendered HTML.
*/