Core Function
View Source on Trac ↗ remove_serialized_parent_block()
remove_serialized_parent_block( mixed $serialized_block ) Accepts the serialized markup of a block and its inner blocks, and returns serialized markup of the inner blocks.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $serialized_block string | The serialized markup of a block and its inner blocks. Required |
Return Value
(string)
The serialized markup of the inner blocks.
Function Information
Since Version
6.6.0
Source File
wp-includes/blocks.php
Advertisement