Filters whether to exclude a specific image from post image discovery. This filter runs inside Jetpack_PostImages, which powers image selection for Related Posts, Open Graph tags, and other features. Returning a truthy value causes the image to be skipped.
Parameters
- $exclude
bool Whether to exclude the image. Default false.
- $image
array { Image data.
Changelog
- Introduced in Jetpack 15.6