Hello,
I am using GF for user submissions to a custom post type. I have that working great.
I am now in the process of taking part of the form information and creating a comment out of it. I am doing so using "gform_after_submission" along with "wp_insert_comment"
Currently I am able to pass the users name, email, and the comment to the appropriate spots in the database.
My only issue is associating this comment with the post that was created with this form.
Do you know of a way to get the Post ID that was just created when submitting the form?