Add Gutenberg/check-inner-blocks.php
Initial
This commit is contained in:
4
Gutenberg/check-inner-blocks.php
Normal file
4
Gutenberg/check-inner-blocks.php
Normal file
@ -0,0 +1,4 @@
|
||||
// Check if the block is a 'core/post-featured-image'
|
||||
if ( 'core/post-featured-image' === $block->name ) {
|
||||
return true; // Found a block using the featured image
|
||||
}
|
||||
Reference in New Issue
Block a user