extract_serialized_parent_block


extract_serialized_parent_block ( $serialized_block )

Access:
  • private
Parameters:
  • (string) serialized_block The serialized markup of a block and its inner blocks.
See:
Returns:
  • (string) The serialized markup of the wrapper block.
Defined at:

Description

Accepts the serialized markup of a block and its inner blocks, and returns serialized markup of the wrapper block.

Related Functions

remove_serialized_parent_block, serialize_block, serialize_blocks, traverse_and_serialize_block, block_core_navigation_remove_serialized_parent_block

Top Google Results

User discussions

wpseek mobile