Home › Forums › General Issues › User profile form: Update password? › Reply To: User profile form: Update password?
You would need to add fields to your form for them to update the password.
You’d also need to do any validation of these fields yourself, you can use the acf/validate_value hook for this, but if you supply two fields I’m not sure at the moment how you’d compare two fields.
Then you’d need to create an acf/pre_save_post filter http://www.advancedcustomfields.com/resources/acf-pre_save_post/ that would call the WP function wp_set_password()
https://codex.wordpress.org/Function_Reference/wp_set_password
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.