As the function is local you cannot access it. If it changes you need to adopt it in your code.
Or find another solution like getting the control names of the slots and check if the slot is filed within your addon (which might brake as well as they decide to change control names or function names or whatever).
There is no "safe way".
|