Home Forums ACF PRO Updating existing fields Reply To: Updating existing fields

  • There really isn’t an efficient way to add values retroactively to existing posts… other than edit and update every post where the new fields are used.

    The best way to deal with adding new fields is to assume a default value in your code when they are not set.

    Simple example:

    $value = get_field('my-field');
    if (!$value) {
      $value = 'default value';