Support

Account

Home Forums Add-ons Repeater Field Can't create array with repeater sub_field Reply To: Can't create array with repeater sub_field

  • When you want to put values in an array, first you need to create an empty array and then use array syntax to add the values

    
    $value = array();
    
    // later
    $value[] = get_sub_field('fee');