Name of files uploaded from URL
-
Hello,
I’m using media_sideload_image() to upload images to my WordPress website and they are being saved to the blob.
My question is, for instance, if I use an url like “www.linktoimage.com/nameimage.jpg” what is being stored in my blob is an image with the name “nameimage.jpg” and I would like to know if it is possible to upload an image from an url and choose a specific name like “nameimage-123.jpg”.Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Name of files uploaded from URL’ is closed to new replies.