public function __construct($plugin)
 {
     parent::__construct($plugin);
     if (!$this->menuTitle) {
         $this->menuTitle = __('License Manager', 'onp_licensing_325');
     }
     // turns off the license manager if we use the embedded license key
     if ($plugin->license && $plugin->license->isEmbedded()) {
         $this->hidden = true;
     }
     $this->site = site_url();
     $this->domain = parse_url($this->site, PHP_URL_HOST);
 }
 public function __construct($plugin)
 {
     parent::__construct($plugin);
     if (!$this->menuTitle) {
         $this->menuTitle = __('License Manager', 'onp_licensing_325');
     }
     // turns off the license manager if we use the embedded license key
     if ($plugin->license && $plugin->license->isEmbedded()) {
         $this->hidden = true;
     }
     $this->site = site_url();
     $this->domain = parse_url($this->site, PHP_URL_HOST);
     $nounce = wp_create_nonce('hidelm');
     $optionName = 'onp_lm_' . $this->plugin->pluginName . '_' . $nounce;
     $optionValue = get_option($optionName);
     if (!empty($optionValue)) {
         $this->hidden = true;
     }
 }
예제 #3
0
 public function __construct(Factory325_Plugin $plugin)
 {
     parent::__construct($plugin);
     $this->menuTitle = __('Image Elevator', 'sociallocker');
     $this->menuIcon = IMGEVR_PLUGIN_URL . '/assets/admin/img/menu-icon.png';
 }
예제 #4
0
 public function __construct(Factory325_Plugin $plugin)
 {
     parent::__construct($plugin);
     $this->menuTitle = __('Global Settings', 'bizpanda');
 }
예제 #5
0
 public function __construct(Factory325_Plugin $plugin)
 {
     parent::__construct($plugin);
     $this->menuTitle = __('How to use?', 'bizpanda');
 }
예제 #6
0
 public function __construct(Factory325_Plugin $plugin)
 {
     parent::__construct($plugin);
     add_filter('factory_menu_title_premium-sociallocker-next', array($this, 'fixMenuTitle'));
 }