I'm doing a bunch of custom stuff with my forms and need a little help figuring out one last step.
Here's a bit of background:
- I'm using my form to create a custom post
- When the custom post is saved/published, a row is inserted into a custom table
- I need my second form (an update form) to update this custom post
- I'm using gform_post_data_2 to target my update form
I'm trying to figure out how to update the featured image of the post. I can't find any functions that will do it for me.
Anyone have any tips?