• Hi,

    I have a problem with media_sideload_image …it uploads the image and then just dies

    set_time_limit(300);
    
    require_once('../wp-admin/includes/media.php');
    require_once('../wp-admin/includes/file.php');
    
    $upload = media_sideload_image($url, $post_id, $desc);

    Anyone have experience with that?

  • The topic ‘media_sideload_image dies’ is closed to new replies.