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, render_block, do_blocks, wp_parse_list

Top Google Results

User discussions

wpseek mobile