Home › Forums › ACF PRO › Prefill for acf_form? › Reply To: Prefill for acf_form?
from the documentation:
This hook allows you to modify the value of a field right after it is loaded from the database.
It has a $post_id – the post id which the value was loaded from
I don’t see how this would work in a front end form – where the content is brand new?
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.