Support

Account

Home Forums General Issues Update custom field when update custom post

Solved

Update custom field when update custom post

  • I need to update custom fields of a custom post type.
    Right now I am using the classic route to update the post so I can update the title, content… but no custom fields.
    What would be the best way to do that? From what I have read so far the solution could be in using the hook save_post but I do not see how to pass the new value of the custom field (the new value comes from a textarea on the front).
    Thank you for your help

  • acf_form() is my answer. Thank you

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

You must be logged in to reply to this topic.