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