Support

Account

Home Forums Front-end Issues Pass new $post_id to url or… Reply To: Pass new $post_id to url or…

  • Yea, I was updating from v4 to v5.

    The second post of code, as you obviously know, was used to actually use the form data to create a post.

    $_POST['bh_post_type'];

    Was used for v4 obviously. I tried appending $GLOBALS[‘acf_form’] to that in place of $_POST and it did not work. So I tried reverting it back to $_POST to see if an object being sent over instead of single variables.

    I noticed the new vs new_post shortly after posting and still didn’t work.

    I’ll keep debugging and report back when I’m able. Thanks.