Support

Account

Home Forums ACF PRO How to edit custom image (attachment) meta? Reply To: How to edit custom image (attachment) meta?

  • Hi @ht,

    Thanks for the post.

    To add or update meta within ACF fields, I would recommend you make use of the update_field() function. This functions accepts three parameters, in your case, you will need to pass the field_key, $value and the post id that you want to update the posts to.