Thanks for getting back to me Jarvis. I managed to circumvent the issue by putting this into a function and invoking it after the template part loads. This way the titles do not appear. Nothing appears which is what I was looking for. I’m unsure what caused the issue but it is fine like this for now. Thank you for the tips!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users