_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

filter_block_kses, parse_blocks, has_blocks, _fix_attachment_links, render_block

Top Google Results

User discussions

wpseek mobile