Support

Account

Home › Forums › ACF PRO › Add fields to existing posts › Reply To: Add fields to existing posts

  • Founded the solution in ACF documentation.

    
    $medias = [23556,23586,23635];
    update_field('gallery', $medias, $post_id);