Home › Forums › ACF PRO › Add a field from the ACF Pro in the form WP User Frontend Pro › Reply To: Add a field from the ACF Pro in the form WP User Frontend Pro
Hi @ingwine
Could you please var_dump() the $_POST[“acf”] variable?
Basically, you need to add the acf_form( $new_post );
to where you want it to show up and then get the posted data when the form is saving the data. It’s a bit weird that you can set it on the same hook. But again, I’m not familiar with WP User Frontend Pro. I’m sorry about that.
I think you can ask the plugin author where you can get the posted data from the form using the $_POST variable and the new post ID. This way you can update it easily.
You can also check if the form posted the data by using the developer tools from your browser (I use Google Chrome’s developer tool). I’ve attached a screenshot for your reference.
I hope this helps.
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.