Hi there,
I am not 100% sure how to use the gform_disable_post_creation hook to update a post. Could you post a quick example on how to use that hook. The documentation gives this example to disable post creation:
So if I wanted to disable post creation and update a post instead, how would I do this lets say for form id 6? Like below?
Which information would I have to pass to wp_update_post and how would I take this information from that just filled out form? Would I also need to use the gform_after_submission hook? Which hook gets fired first?