Support

Account

Home Forums Front-end Issues Update taxonomy term field when a new post is published on the frontend Reply To: Update taxonomy term field when a new post is published on the frontend

  • The reason that the value is not saved could be because your filter is never run.

    What are the setting for acf_form()?

    From looking at your code, you are depending on ACF to create the new post. ACF is probably creating the new post before your filter runs and this means that when your filter runs $post_id != "new".