Hi everybody
I have a repeater field on my option page which contains 3 image fields.
I am trying to make it so it returns a random row containing all the three subfields, but can’t find any examples like this, is there anyone who can help me on with this?
Thanks
$repater = get_field('repeater_field_name');
$row = array_rand($repeater);
var_dump($repeater[$row']);