title: How to find a gutenberg block by blockName if blocks are nested (recursively)
body: <p>I need to get some data from an ACF Gutenberg block, but it is nested in a nested block, so</p>
  <pre><code>&lt;?php
  $blocks = parse_blocks( $pid-&gt;post_content );
  foreach ( $blocks as $block ) {
      if ( $block['blockName'] === 'acf/your-block-name' ) {
          //do something
      }
  }
  </code></pre>
  <p>is not working.</p>