How to Save Images Exclusively to Cloudinary in WordPress Without Using Local Media Storage

I'm using WordPress with my own custom plugin that integrates with Cloudinary. However, I've encountered an issue: when I edit or add images to a post, the images are being saved to the WordPress media library instead of exclusively to Cloudinary.

Does anyone know how I can prevent WordPress from storing images locally and ensure that they are only saved to Cloudinary? Any small tips, methods, or even a tutorial would be greatly appreciated!

consider I don't use cloudinary plugin directly wordpress, I use cloudinary configuration only my plugin with composer

Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer