Home › Forums › Gutenberg › Check if Innerblocks is empty › Reply To: Check if Innerblocks is empty
Hey,
Solving is a default state for posts once they’ve had a reply. It doesn’t mean anything related to our backlog as this is a community support forum.
Feature requests should be made on advancedcustomfields.com/feedback and bugs reported via the support team.
That said, this isn’t something we can fix our side. We use the WordPress provided logic here. The code sample provided above, using parse_blocks
would be incredibly inefficient to do on a production site as it’s very expensive, and you’ll be parsing the whole page twice essentially.
The way blocks render, it’s not really viable for this to possible as blocks work without awareness of each other, outside of context – but if it were to become so, it would need to be provided by Gutenberg.
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.