Home › Forums › Add-ons › Repeater Field › Using get_post_meta as Fallback on Repeaters › Reply To: Using get_post_meta as Fallback on Repeaters
okay result i get from
echo '<pre>';
print_r( $rows);
echo '</pre>';
is
Array
(
[0] => 8
)
Which is the 8 repeater rows current in the array.
how do i use $rows--;
?
and/or how would i always echo the last row after more rows where added?
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.