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
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!
Are you building WordPress sites with ACF and @BeaverBuilder, and wanted to use your ACF Blocks in both the block editor and Beaver Builder?— Advanced Custom Fields (@wp_acf) May 10, 2023
The BB team recently added support for using ACF Blocks in Beaver Builder. Check it out 👇https://t.co/UalEIa5aQi
© 2023 Advanced Custom Fields.