Home › Forums › General Issues › User profile form: Update password? › Reply To: User profile form: Update password?
You’re saving the value before ACF has saved the value. You need to look in $_POST['acf']
for the value.
For testing I would suggest that you add this to your pre_save_post function to get an idea of what you need to do. This is what I generally do anyway.
echo '<pre>'; print_r($_POST); die; // exit so you can see what is submitted
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.