• Hi all, I am using this plugin and it is pretty great. The only issue is that my media library is growing at a very fast pace. I have generally unlimited space in the S3 bucket. When I am done with a post, I no longer need the image in the post to be a wordpress media attachment, so I just keep the url and want to delete the item in the media library; however, doing that also deletes the media item in the S3 bucket, so my url goes bad. Does anyone have an idea about using this plugin but removing the behavior where it deletes from the S3 bucket when the media library item is deleted?

    The only thing I have come up with so far is removing the filter action ‘delete_attachment’ registered in amazon-s3-and-cloudfront.php on line 151, during my own delete media item function, and then replacing it once I am done deleting items. I don’t particularly like that for long-term maintainability. Thank you in advance for your time and insight : ).

    • This topic was modified 7 years, 9 months ago by rickera.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Delete from Media Library But Keep in S3 Bucket’ is closed to new replies.