Support

Account

Home Forums Backend Issues (wp-admin) acf/save_post – execute only when value of field has changed Reply To: acf/save_post – execute only when value of field has changed

  • You need to run your action with a priority of <10 so that it runs before the new values are saved.
    $_POST['acf']['field_5fd213a8c6dfe'] will have the new value and get_field('field_5fd213a8c6dfe') will return the old value.