Home › Forums › Front-end Issues › acf_form() and post locking › Reply To: acf_form() and post locking
This is something I have not seen come up before, but probably a good question. Because ACF will not know how a particular site needs to work I don’t think you see it added. But this is something you can manage yourself. Before calling ACF form test to see if the post is locked https://codex.wordpress.org/Function_Reference/wp_check_post_lock, if it is then do not call acf_form() and show your own message about the post being locked. You can also lock https://codex.wordpress.org/Function_Reference/wp_set_post_lock and unlock the page. I’m sure there’s more to it.
But no this is not something that ACF does and I cannot recall it coming as a topic here before. You might want to submit the feature request in a new ticket https://support.advancedcustomfields.com/new-ticket/
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.