Home › Forums › Gutenberg › Gutenberg Parent/Child Blocks › Reply To: Gutenberg Parent/Child Blocks
I have made a change to the ACF plugin to accomplish this – perhaps I need to submit as a Git Issue/PR?
In any case – in blocks.php
in ACF, line 88 validate_block_type
– I added an additional parameter to $block
array and was successfully able to pass it along via the acf_register_block
function.
'parent' => ''
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.