4 lines
200 B
PHP
4 lines
200 B
PHP
// 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
|
|
} |