content ); $flatten_blocks = self::flatten_blocks( $blocks ); return array_values( array_filter( $flatten_blocks, function ( $block ) use ( $block_name ) { return ( $block_name === $block['blockName'] ); } ) ); } }