• My client would like to set the post thumbnail from an image url on another website. I understand why this is not built in with the image needing to be uploaded to be resized. However, is there any way to upload the image from a function. If so, I could fulfill their request using custom fields.

    I would need a function something like

    set_post_tumbnail($post_id, $image_url)

    I can’t seem to find that this exists. Has anyone jumped this hurdle?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can one set post thumbnail from a function?’ is closed to new replies.