wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



serialize_blocks › WordPress Function

Seit5.3.1
Veraltetn/v
serialize_blocks ( $blocks )
Parameter:
  • (array[]) $blocks An array of representative arrays of parsed block objects. See serialize_block().
    Erforderlich: Ja
Gibt zurück:
  • (string) String of rendered HTML.
Definiert in:
Codex:

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



Quellcode

function serialize_blocks( $blocks ) {
	return implode( '', array_map( 'serialize_block', $blocks ) );
}