serialize_blocks


serialize_blocks ( $blocks )

Parameters:
  • (WP_Block_Parser_Block[]) blocks Parsed block objects.
Returns:
  • (string) String of rendered HTML.
Defined at:

Description

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

Related Functions

serialize_block, serialize_block_attributes, parse_blocks, has_blocks, is_serialized

Top Google Results

User discussions

wpseek mobile