public function __construct($plugin) { $this->menuTitle = __('+ New Locker', 'bizpanda'); $this->menuPostType = OPANDA_POST_TYPE; $this->id = "new-item"; parent::__construct($plugin); }
public function __construct($plugin) { $this->id = 'stats'; $this->menuPostType = OPANDA_POST_TYPE; $this->menuTitle = __('Stats & Reports', 'bizpanda'); parent::__construct($plugin); }
public function __construct($plugin) { $this->menuPostType = OPANDA_POST_TYPE; $this->id = "leads"; require_once OPANDA_BIZPANDA_DIR . '/admin/includes/leads.php'; $count = OPanda_Leads::getCount(); if (empty($count)) { $count = '0'; } $this->menuTitle = sprintf(__('Leads (%d)', 'bizpanda'), $count); parent::__construct($plugin); }