Notice: There is no legacy documentation available for this item, so you are seeing the current documentation.
This filter enables you to use the image in a Cover block in the Block Editor as the social image when you’re using “First Image in Content” as the image source.
- $ignore (boolean) – Whether Cover blocks should be ignored when determining the social image. Defaults to true.
Example code snippet
add_filter( 'aioseo_social_image_ignore_cover_block', '__return_false' );