diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php
index a07e51f959..891386ce40 100644
|
a
|
b
|
function parse_blocks( $content ) { |
| 518 | 518 | $parser_class = apply_filters( 'block_parser_class', 'WP_Block_Parser' ); |
| 519 | 519 | |
| 520 | 520 | $parser = new $parser_class(); |
| 521 | | return $parser->parse( $content ); |
| | 521 | |
| | 522 | /** |
| | 523 | * Filter the collection of parsed blocks. |
| | 524 | * |
| | 525 | * @since 5.?.? |
| | 526 | * |
| | 527 | * @param array[] $blocks Array of parsed block objects. |
| | 528 | */ |
| | 529 | return apply_filters( 'parse_blocks', $parser->parse( $content ) ); |
| 522 | 530 | } |
| 523 | 531 | |
| 524 | 532 | /** |