aioseo_social_image_ignore_cover_block

Purpose

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.

Arguments (1)

  1. $ignore (boolean) – Whether Cover blocks should be ignored when determining the social image. Defaults to true.

Example code snippet

Implementation

Need help using our code snippets? Checkout our documentation on “How do I use your API code examples?“.

We recommend using the WPCode plugin for safe and secure implementation. WPCode performs multiple sanitization tests before activating the snippets, ensuring the safety of your website.