Support

Account

Home Forums Add-ons Repeater Field Repeater field saved in content Reply To: Repeater field saved in content

  • if this is your repeater field $pasiPregatire = $_POST['acf']

    
    foreach ($pasiPregatireas $row) {
      $image_id = inval($row[$image_sub_field_key];
      $size = 'full'; // or the size you want to get
      $image = wp_get_attachment_image($image_id, $size);
      $postContent .= $image;
    }