_flatten_blocks
- %1$s is private and should not be used in themes or plugins directly.
_flatten_blocks ( $blocks )
Access:Parameters:- (array) blocks array of blocks.
Returns:- (array) block references to the passed blocks and their inner blocks.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Returns an array containing the references of
the passed blocks and their inner blocks.