media library – How to upload images in a specific folder using API
I have installed wordpress plugins Real Media library, Real Physical Media, and Media file renamed. Using this I am able to physically move images and organize images in the upload folder as per categories.
Both these plugins have API –
but they don’t seem to provide any option to upload files.
It means for uploading I still need to use the classic WordPress rest API.
So how do I then physically move the files, do I upload using classic way, and the images get uploaded in the date file structure format, and use a second API call to move those uploaded images? Or directly while uploading itself I can set the destination folder.