Hi, you have great plugin. But it only add featured image when there is photo in the tweet by $media->media_url. I want to add to all tweet post featured image from external url. how i can do this, or how i can remove conditional if there is photo it adds. I want to use it like below.
$image_url = ‘http://s.wordpress.org/style/images/wp-header-logo.png’; // Define the image URL here
$upload_dir = wp_upload_dir(); // Set upload folder
$image_data = file_get_contents($image_url); // Get image data
- The topic ‘Add featured image to all tweets’ is closed to new replies.