parse_blocks


parse_blocks ( $content )

Parameters:
  • (string) content Post content.
Returns:
  • (array[]) Array of parsed block objects.
Defined at:

Description

Parses blocks out of a content string.

Related Functions

has_blocks, has_block, do_blocks, render_block, wp_parse_list

Top Google Results

User discussions

wpseek mobile