commit 77c5d3e7117e49c33d6e867e33ddd329423ad566 Author: jrangel Date: Tue Nov 5 07:01:10 2024 +0000 Add Gutenberg/check-inner-blocks.php Initial diff --git a/Gutenberg/check-inner-blocks.php b/Gutenberg/check-inner-blocks.php new file mode 100644 index 0000000..ae5f943 --- /dev/null +++ b/Gutenberg/check-inner-blocks.php @@ -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 + } \ No newline at end of file