Thanks for your answer. I have just solved the problem. Apparently acf_form_head () causes that I cannot access the $ _POST variable because it is completely deleted once during the redirect. Thank you for answering anyway. Maybe some didn’t know that?
P.S: In addition, I am not creating an admin page, but a normal field_group with the ID.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users