Home › Forums › General Issues › Changing the way ACF saves widget fields › Reply To: Changing the way ACF saves widget fields
Thanks John for such a detailed response.
widget_update_callback hook, check here.
I think it can be the hook you need. See an article here regarding cache clearing upon widget save.
Basicaly you could get defaul widget settings, append the ones from ACF and save it back to the default serialized array.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.