I have a submission form for an announcement, the user puts all the information in and then selects a date for the announcement to be posted on. The form auto creates a post in pending review format. I want the date the user enters to be the date that will show up in the publish date (or schedule date, since it will be in the future.)
Can someone please explain how to do this? I have tried this, but I am not completely sure where to put this code and what function to add to it...
<?php
add_action("gform_post_submission", "post_submission", 10, 2);
?>
I am new to gravity forms and wordpress. Please help.