Hi,
I have 2 custom fields for my posts, “month” and “year” I’m trying to auto populate this fields in post save/update so that the post year will be added to the “year” field and post month will go into “month” field as text value,
Can this be done ??
You can add an acf/save_post filter https://www.advancedcustomfields.com/resources/acfsave_post/. In the filter you can use update_field() https://www.advancedcustomfields.com/resources/update_field/ to update ACF fields, or you could use update_post_meta() to update non ACF fields.