Move WordPress pre-existing attachments to S3 using WP Offload S3 Lite.

If you decided to move all of your media to Amazon’s S3 and activated WP Offload S3 Lite, you will notice that without the pro version, your old media is left behind. Here is a simple fix for that. Make sure to delete the code when you’re done to save resources.