List Innerblocks from parent block inside render_template

Support MB Blocks List Innerblocks from parent block inside render_template

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38180
    Nicholas CoxNicholas Cox
    Participant

    Hi,

    I have added a innerblock option to my custom block, is there a way to grab a list of active innerblocks from the parent block? inside 'render_template'. I am after grabbing the JSON string for the settings chosen so i can alter the parent block layout based on what settings were chosen on the inner blocks.

    hope im making sense.

    thanks
    Nick

    #38188
    Long NguyenLong Nguyen
    Moderator

    Hi Nick,

    Currently, MB Blocks does not support getting a list of inner blocks or getting the inner block values. I will inform the development team to consider supporting this case in future updates.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.