Your question as to why I am doing it is very valid. I am setting a post ID (for a different post to the current one) as a variable and due to a bug in my code, it got set to ‘new_data’ instead of the proper ID. So I wouldn’t have known about it if I hadn’t written bad code
It is totally avoidable, it is just irritating me as to why it is happening.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users