|
WordPress has a file called The problem I am facing (I am overriding
This somewhat defeats the ease of use, I have to comment the function in the plugin file, activate the plugin, un-comment the function for it to work properly. What is the correct way to do it? I am using 3.5 + multi-site configuration |
||||||
|
Answers
|
Wrap your function in
This is necessary because in the context of activating a plugin, the function does already exist, only after it is activated will your plugin load first and override the original in |
||
|