I just found the solution to the problem. My hooks were registered in the functions.php but I did it after having called get_field() a little bit earlier. Calling get_field() initialises ACF and thus the hooks were useless afterwards.
Seems so simple now, but was quite hard to grasp…
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users