you are still only showing the functions. To design a proper solution one has to consider the place in code where you register the function pointer and the place where you call them. Please try to create a [mre]
Oh my, didnt know that this is broken too ... here is the link: https://stackoverflow.com/help/minimal-reproducible-example