filter

jetpack_twitter_cards_image_default

Filter the default Twitter card image, used when no image can be found in a post.

Parameters

$str
string

Default image URL.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

Alternatively, you can also rely on the jetpack_images_get_images filter to define a fallback image that will be used in multiple areas of Jetpack (Open Graph Meta tags, Twitter Meta tags, Related Posts, and more).