Why is update_post_meta() not saving the value to the database in post_updated?
Good question! Try instead using ‘save_post’. I was finding that this code: Was not saving the value to the database, when I checked, the field was empty, despite $html having content when the code fired. This code was inside an update_post action: When I updated it to: The value got correctly written. Note that ACF’s... » read more