_flatten_blocks


_flatten_blocks ( $blocks )

Access:
  • private
Parameters:
  • (array) blocks array of blocks.
Returns:
  • (array) block references to the passed blocks and their inner blocks.
Defined at:

Description

Returns an array containing the references of the passed blocks and their inner blocks.

Related Functions

resolve_pattern_blocks, filter_block_kses, parse_blocks, has_blocks, _fix_attachment_links

Top Google Results

User discussions

wpseek mobile