Home › Forums › Front-end Issues › Acf_form() Dont allow to edit. › Reply To: Acf_form() Dont allow to edit.
Thanks @acf-support !
You info let me to use REQUEST_URI instead 🙂
Referer did return the prev url when visiting, or nothing if directly visited.
Referer return:
http://www.domain.com/old_path/
Request return:
/current_real_path/
url_to_postid the return:
id: 48
id: 115 (correct)
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.