Home › Forums › ACF PRO › Create new user with acf_form › Reply To: Create new user with acf_form
Hi @leuchterits ,
Thanks a lot for getting back to me.
You do not need to change anything on your ACF front-end form if its still saving as expected. What you need is to hook into the acf/save_post as described earlier.
From here you can now call the native WordPress function wp_create_user() to create a user using the field values. https://codex.wordpress.org/Function_Reference/wp_create_user
If you get stuck along the way, feel free to share with us a gist of your code and we will try to help 🙂
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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.