strider72 / spam-karma

A flexible and modular anti-spam plugin for WordPress
GNU General Public License v2.0
3 stars 3 forks source link

Allow SK Plugins to register from any location #29

Open strider72 opened 9 years ago

strider72 commented 9 years ago

We need a system for installing SK Plugins other than just dropping them in the sk_plugins folder, because those will get overwritten/deleted if this is updated via WP Repository. SK needs a hook-like register_plugin() function that allows third party WP plugins to register themselves with Spam Karma.

For example, we can make a SK-Akismet plugin that is a separate plugin in the WordPress repository, but when installed and activated, works within Spam Karma as an SK plugin.

All existing/built-in SK plugins should work the same way, even though they'll be included by SK automatically -- not as separate WP plugins.