Home › Forums › Add-ons › Repeater Field › Default open fields in repeater › Reply To: Default open fields in repeater
I tried plugging this in to functions.php and set the field value to the post_name field in wp_posts table. That value is field_5b872b6587fbe
I assumed replacing the field in your example was referencing this field from wp_posts.
My admin panel is not doing anything differently when I test it so I figured I’d explain what I did and see if you have feedback.
I should also clarify that I put a die(‘test’); in the set_start_rows function right at the beginning and it did not trigger. looks like the function isnt being called. Could this have a typo or something in it?
add_filter(‘acf/load_value/key=field_5b872b6587fbe’, ‘set_start_rows’, 20, 3);
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.