Can one set post thumbnail from a function?
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
I can’t seem to find that this exists. Has anyone jumped this hurdle?
- The topic ‘Can one set post thumbnail from a function?’ is closed to new replies.