Defined $inner_blocks
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
$inner_blocks = $block->inner_blocks;
|
||||
foreach ( $inner_blocks as $block ) {
|
||||
if ( 'core/post-featured-image' === $block->name ) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user