2012-09-24, 22:29:54
mvlcek Wrote:First, all the functions in your plugins should use a plugin specific prefix/code, like add_mu_permission, check_mu_user_permission, check_mu_user_permissions.
Then any other plugin can use the functions with
Code:if (function_exists('check_mu_user_permission')) check_mu_user_permission();
So from my understanding, in the plugin that is using the other plugins functions, I should create a function and put all references to the other plugins functions in it. Then call that function with the common hook.