Summery Summery
Returns a joined string of the aggregate serialization of the given parsed blocks.
Syntax Syntax
Parameters Parameters
- $blocks
-
(Required) Parsed block objects.
Return Return
(string) String of rendered HTML.
Source Source
File: wp-includes/blocks.php
function serialize_blocks( $blocks ) {
return implode( '', array_map( 'serialize_block', $blocks ) );
}
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 5.3.1 | Introduced. |