Home › Forums › General Issues › acf/pre_save_post with a Post Object › Reply To: acf/pre_save_post with a Post Object
Hi John,
Thanks for your reply! That was stupid of me to not point out which field is the post object.
It’s the final line:
$_POST['acf']['s'] = $_POST['acf']['field_5dd54240e53b7'];
‘s’ is the name of the input in wp/admin area that I want to fill with the input from the acf field name which is the custom post object input in my acf new post form on the front-end.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.