added 'mailpoet_initialized' action so that 3rd party plugin can check if mp is loaded
This commit is contained in:
@ -131,6 +131,7 @@ class Initializer {
|
|||||||
$this->setupAPI();
|
$this->setupAPI();
|
||||||
$this->setupRouter();
|
$this->setupRouter();
|
||||||
$this->setupPages();
|
$this->setupPages();
|
||||||
|
do_action('mailpoet_initialized', MAILPOET_VERSION);
|
||||||
} catch(\Exception $e) {
|
} catch(\Exception $e) {
|
||||||
$this->handleFailedInitialization($e);
|
$this->handleFailedInitialization($e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user