cloud – WordPress offload media without plugin
I have a general idea on how to implement it to the WordPress. I want someone to guide me on it.
I might use wp_handle_upload_prefilter to save the file on my cloud storage and simply change file’s url. Wonder if this will work. Also though I’m not quite sure about thumbnails and other images’ sizes.
I could use a plugin (I need S3 compatible cause I will use Yandex Cloud), but the ones that might help me seem to work very poorly