Home › Forums › ACF PRO › Sort admin by last value in repeater field › Reply To: Sort admin by last value in repeater field
If you are sure that you’ll only ever use the first row of the repeater then the meta key for your first date sub field will always be event_dates_0_event_dates_date
As a side note, because of the way ACF names field you don’t need to name your sub field event_dates_date
and you can just shorten that to date
and this would result in the first row always having the meta key of event_dates_0_date
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.