Home › Forums › General Issues › Add admin notices when using acf/update_value › Reply To: Add admin notices when using acf/update_value
Well, figured it out.
I forgot that the page would be redirected after the update so my hook, or any value I set would not be in effect….
If anyone is interested this is what I did.
Needed to add a temporary option value with update_option() then delete the value after displaying the admin notice.
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.