Home › Forums › Add-ons › Repeater Field › Repeater load_value() › Reply To: Repeater load_value()
Hi John,
Thanks for the response. What i need is to be able to add some variables to the sub field (specifically the repeater’s total rows and the sub field’s row count) before it is rendered.
I need the value passed the field before the sub field runs it’s load_value function. As I’m using these values to do a seperate DB query for additional information.
If i set the priority > 10 the sub field has already run through its load_value function and i would have to loop through everything a second time. Which will be fine if i only had a few rows. But i am anticipating over time there will be quite a few rows and i think this will impact in load times.
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.