Hello,
I am trying to return all blocks, even those set to hidden, but it seems that toBlocks() only returns visible blocks. Is there a way to return all blocks regardless of whether or not they are hidden in the panel?
Thank you,
Hello,
I am trying to return all blocks, even those set to hidden, but it seems that toBlocks() only returns visible blocks. Is there a way to return all blocks regardless of whether or not they are hidden in the panel?
Thank you,
The toBlocks()
method filters out the hidden blocks, so you would need a custom field method that does the same as toBlocks()
but without filtering the hidden ones.