ssnepenthe / soter-core

A very basic library for interacting with the WPScan Vulnerability Database API.
GNU General Public License v2.0
0 stars 2 forks source link

Consider adding generic event interface #6

Open ssnepenthe opened 7 years ago

ssnepenthe commented 7 years ago

Instead of calling do_action() directly, add a generic event system that can be used outside of WordPress.

Something external like event and event dispatcher interfaces?

Or maybe just methods on the checker instance like add_post_check_callback() and do_post_check_callbacks()?