public function __construct()
 {
     parent::__construct();
     self::$PLUGIN_URL = WPLA_URL;
     self::$PLUGIN_DIR = WPLA_PATH;
     // add link to settings on plugins page
     add_action('plugin_action_links', array(&$this, 'onWpPluginActionLinks'), 10, 4);
     // required for saving custom screen options
     add_filter('set-screen-option', array(&$this, 'set_screen_option_handler'), 100, 3);
 }
 public function __construct()
 {
     parent::__construct();
     $this->initLogger();
     $this->initClasses();
     $this->loadAccounts();
     $this->loadShortcodes();
     if (is_admin()) {
         // require_once( WPLA_PATH . '/classes/integration/WooBackendIntegration.php' );
         // $oInstall 	= new WPLister_Install( __FILE__ );
         // $oUninstall = new WPLister_Uninstall( __FILE__ );
         $this->loadPages();
         $this->checkPermissions();
         // load MSRP integration
         if (!class_exists('woocommerce_msrp_admin')) {
             require_once WPLA_PATH . '/classes/integration/WPLA_MSRP_Addon.php';
         }
     }
 }