Support

Account

Home Forums Gutenberg Access innerBlocks in parent Reply To: Access innerBlocks in parent

  • No, the information you need is in the $context argument of the render callback function.
    $content contains the html of the innerBlocks.

    function render_callback_function( $block, $content, $is_preview, $post_id, $context ) {
    print_r($context);
    }