Support

Account

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.