Home › Forums › Front-end Issues › acf/save_post hook how to display error message › Reply To: acf/save_post hook how to display error message
You would still insert the user in the acf/pre_save_post filter.
You need to look at the reasons that inserting a user may return an error, for example, an email address that is already used will cause an error, so you need to check for this condition. To be honest, I don’t know all of the things that can cause an error, but you need to figure them out and make sure that the errors cannot happen.
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.