Define a function outside a class and call the function using action or filter hook
So I presumed your sub plugin loads after the main one, right? Here i can see that new value is added to array but now i have to define test2 function inside my sub plugin If you’re certain test2 successfully added to the array and that test2 was being called from MyClass::autoload_function(), then you can … Read more