I duplicated a plugin and then edited it, but can't get both it and the original to work at once!
Up to table of contentsQ42. I duplicated a plugin and then edited it, but can't get both it and the original to work at once!
This problem can arise when two separate plugins have routines with the same name, which is likely to arise when you create one plugin by copying and changing another. The two ways around this problem are
- Change all the function names in the copy.
- Declare all functions (in both plugins) as static (except for PLUGIN_init).
This FAQ applies to: Any version.




