If you can give me more detailed information, for example, what you are trying to do, perhaps we can offer a better solution. To answer your request, if you want to disable the function, this should do:
override_function('test', '', '');
this will override the functional test with a function that does nothing.
Luis
source share