Support

Account

Home Forums General Issues user role Reply To: user role

  • Hi @elhussini

    To get the number or rows of approved entries on your repeater, you can make use of the following code:

    $rows = get_field('repeater_field_name', 'user_'.{user_id}); // get all the rows
    $number_of_user_rows = count($rows);
    

    I hope this info helps. Thank you.