Thanks for this, still trying to get my head around programming. I should probably have said that I am working in the backend of WP, would this filter work in the backend? And when is this filter triggered?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users