• Hi all.
    I want to upload an image from url to my website using wp_handle_upload.
    I don’t know how to convert the url of the image to $file array (the first argument).
    Have you got any ideas?
    Should I use another function?
    Thanks in advance for helping me.

Viewing 1 replies (of 1 total)
  • Thread Starter blatan

    (@blatan)

    The solution is a function media_sideload_image. The topic can be closed.

Viewing 1 replies (of 1 total)

The topic ‘Uploading file from another server’ is closed to new replies.