WordPress File wp-includes/blocks.php

serialize_blocks()

Returns a joined string of the aggregate serialization of the given parsed blocks.

strip_core_block_namespace()

Returns the block name to use for serialization. This will remove the default “core/” namespace from a block name.

excerpt_allowed_wrapper_blocks

Filters the list of blocks that can be used as wrapper blocks, allowing excerpts to be generated from the innerBlocks of these wrappers.