The gravity form creates a new custom post type and I can get the ID of this post and other posts written by the same author.
What hook should I put the update_field in?
I want the fields to be loaded when I first go in and edit the page, not after I save the post, since a lot of the fields are mandatory and I can’t save the post without filling them out. So add_action(‘acf/save_post’) doesn’t do what I need here.
What hook should I use?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users