Support

Account

Home › Forums › Add-ons › Repeater Field › Post Object in Repeater Field. Need Rows Count › Reply To: Post Object in Repeater Field. Need Rows Count

  • Hi @phej

    I believe you need to count the repeater field instead of the subfield like this:

    $count = count( get_field( 'positions' ) );

    I hope this helps 🙂