I’ve been busy developing a WordPress plugin lately and I experienced a best practice right away.
While developing the plugin will probably be the only one loaded. Once released into the wild, for instance by testing it on your live site, and being used in conjunction with pre installed plugins, you may run into PHP Fatal error: Cannot redeclare class ... in ...
errors, even when you use import_once
or require_once
. Continue reading Something to consider when developing a wp plugin