Home › Forums › General Issues › ACF/INIT in combination with get_fields in functions.php › Reply To: ACF/INIT in combination with get_fields in functions.php
Not sure I completely understand. Are you trying to get values for fields that have not had anything saved to them yet?
If you are creating field groups on some specific hook then you can’t get the values for those fields until after the field groups are created and get_fields() will not return fields that have not been saved yet.
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.