Support

Account

Home Forums Bug Reports ACF fields from "parent" post are being saved to auto-created posts

Helping

ACF fields from "parent" post are being saved to auto-created posts

  • Not sure if this is a bug or just something to look out for.

    I’ve got an ACF called “status” – when the “status” is changed and the post is updated it triggers a new CPT post to be automatically created. When this happens I found that $_POST variable contained the “status” ACF and it was being saved into the new CPT post.

    I tried unset($_POST); and that avoided the issue.

  • Hi @locomo

    Thanks for the bug report.

    Can you please provide the code you are using to hook in and create the new post object?

    Thanks
    E

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF fields from "parent" post are being saved to auto-created posts’ is closed to new replies.