Attach images without using Twitter cards in Jetpack

Attach images without using Twitter cards in Jetpack on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'jetpack_publicize_options', function( $option ) { 
    $option['attach_media'] = true;
    return $option;
} );
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.