Can we re-use same functions across multiple plugins?
Summary:
Hi Team,
As part of our OFSC Implementation Project, we are having multiple Plugins Configured. In those plugins we are using functions which are performing same validations but they are different as they are used in different plugins. For example: there are two plugins having two functions “ABC” and “ABC-1”. ABC is used in one plugin and ABC-1 is used in second plugin. Both the functions are performing same validation.
So, we wanted to check, is there a way that instead of using two different functions, we can create only one function somewhere and utilize it in both plugins.
0