Function to apply external image with $post_id and $image_url
-
Hi,
I have a content aggregator and use WP Webhooks along with a custom built workflow using n8n to import articles. Right now, I don’t handle featured images as I did at one point and my media library grew out of hand. As an alternative, this plugin looks like it would work, but I just want to understand something really quick.
From browsing your code, which looks great by the way, it looks like I would just need to call “fifu_dev_set_image” after creating the post and pass in the $post_id along with the external $image_url and then your plugin would be able to handle the rest. Is that a correct assumption?
Thank you,
AJThe page I need help with: [log in to see the link]
- The topic ‘Function to apply external image with $post_id and $image_url’ is closed to new replies.