Home › Forums › General Issues › Populate ACF Repeater field from a list/CSV/XML › Reply To: Populate ACF Repeater field from a list/CSV/XML
I’m interested why you don’t think 300 rows is a good idea – surely a CPT has more database overhead?
Anyway, this post helps;
https://felicoz.com/en/2017/05/acf-import-repeater-field-values-csv-programmatically/
if you add the line
add_row('repeater_name', array("",""));
in the while
loop, (obviously as many empty values as sub fields), then it will add the rows too.
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.