diff options
Diffstat (limited to 'Postman/Postman.php')
-rw-r--r-- | Postman/Postman.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Postman/Postman.php b/Postman/Postman.php index 51b2ab1..9f4f7ce 100644 --- a/Postman/Postman.php +++ b/Postman/Postman.php @@ -70,6 +70,8 @@ class Postman { require_once 'Postman-Mail/PostmanMyMailConnector.php'; require_once 'Postman-Mail/PostmanContactForm7.php'; require_once 'Phpmailer/PostsmtpMailer.php'; + require_once 'Extensions/License/PostmanLicenseManager.php'; + require_once 'Extensions/Admin/PostmanAdmin.php'; //require_once 'Postman-Mail/PostmanWooCommerce.php'; // get plugin metadata - alternative to get_plugin_data @@ -188,6 +190,9 @@ class Postman { * ref: http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request */ public function on_plugins_loaded() { + + PostmanLicenseManager::get_instance()->init(); + // load the text domain $this->loadTextDomain(); @@ -215,6 +220,7 @@ class Postman { * ref: https://codex.wordpress.org/Function_Reference/register_activation_hook */ public function on_activation() { + if ( $this->logger->isInfo() ) { $this->logger->info( 'Activating plugin' ); } |