Title: Programatically save ACF on post save
Last modified: October 25, 2019

---

# Programatically save ACF on post save

 *  [mabezdek](https://wordpress.org/support/users/mabezdek/)
 * (@mabezdek)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/programatically-save-acf-on-post-save/)
 * Hello,
    I please you for any idea. I have custom post type with ACF repeater 
   with some records for evidence some changes. I am using gutenberg.
 * Every Time I save the post, I want to add new row into this ACF repeater. The
   row is correctly added, but some milliseconds after is this row removed. I try
   to save it in hook post_updated with very low priority (hight order), but the
   problem is the some. I mean the problem is because I added row into repeater,
   which is not refreshed on the client side, so some moments after is repeater 
   returned to old state.
 * If is my reasoning good, it is possible to refresh the ACF box after post is 
   saved? If not, do you have any idea?
 * Thank you so much,
    Martin
    -  This topic was modified 6 years, 7 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not a Developing with WordPress
      topic

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 7 months ago](https://wordpress.org/support/topic/programatically-save-acf-on-post-save/#post-12063514)
 * I recommend asking at [https://wordpress.org/support/plugin/advanced-custom-fields/#new-post](https://wordpress.org/support/plugin/advanced-custom-fields/#new-post)
   so the plugin’s developers and support community can help you with this.

Viewing 1 replies (of 1 total)

The topic ‘Programatically save ACF on post save’ is closed to new replies.

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [save](https://wordpress.org/support/topic-tag/save/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/programatically-save-acf-on-post-save/#post-12063514)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
