added 'mailpoet_initialized' action so that 3rd party plugin can check if mp is loaded

This commit is contained in:
Jonathan Labreuille
2016-12-12 11:28:38 +01:00
parent 449978d7c1
commit 232494e1a2

View File

@ -131,6 +131,7 @@ class Initializer {
$this->setupAPI();
$this->setupRouter();
$this->setupPages();
do_action('mailpoet_initialized', MAILPOET_VERSION);
} catch(\Exception $e) {
$this->handleFailedInitialization($e);
}