Support

Account

Home Forums Gutenberg Register Block Parent Attribute Reply To: Register Block Parent Attribute

  • If somebody lands here as I did: ACF silently supports “parent” attribute in acf_register_block function:

    \acf_register_block(
        array(
            // your attributes
            'parent' => ['acf/parent-block']
        )
    );

    https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/#parent-optional