Support

Account

Home Forums General Issues update_field on Publish Reply To: update_field on Publish

  • Does acf/save_post runs when posts are pending?
    if it doesn’t you could check if your field_534dc7420db07 has a value and update it with $value only if it doesn’t. if acf/save_post runs before the values are stored in the database an “updated” post will already have a value for that field and wont get updated.

    would that work?