Source file: modules/publicize.php
View in GitHubParameters
- $options
-
(array) Array of Publicize options.
Changelog
Since: Jetpack 8.5.0
Notes
If you want to restore the previous way Publicize attached an image to a Tweet (instead of relying on a Twitter card), you can use this filter:
add_filter( 'jetpack_publicize_options', function( $option ) { $option['attach_media'] = true; return $option; } );