Support

Account

Home Forums Add-ons Repeater Field Show one random row from a repeater field Reply To: Show one random row from a repeater field

  • 
    $repater = get_field('repeater_field_name');
    $row = array_rand($repeater);
    var_dump($repeater[$row']);