public function __construct($file)
 {
     parent::__construct($file);
     $this->set_name('orbis_tasks');
     $this->set_db_version('1.1.0');
     $this->plugin_include('includes/functions.php');
     $this->plugin_include('includes/post.php');
     $this->plugin_include('includes/shortcodes.php');
     $this->plugin_include('includes/template.php');
     $this->plugin_include('includes/angular.php');
     orbis_register_table('orbis_tasks');
     add_action('widgets_init', array($this, 'widgets_init'));
     // AJAX
     if (defined('DOING_AJAX') && DOING_AJAX) {
         $this->ajax = new Orbis_Tasks_AJAX($this);
     }
 }
 public function __construct($file)
 {
     parent::__construct($file);
     $this->set_name('orbis_subscriptions');
     $this->set_db_version('1.1.6');
     $this->plugin_include('includes/post.php');
     $this->plugin_include('includes/subscription.php');
     $this->plugin_include('includes/api.php');
     $this->plugin_include('includes/shortcodes.php');
     $this->plugin_include('includes/template.php');
     $this->plugin_include('includes/subscription-template.php');
     orbis_register_table('orbis_subscriptions');
     orbis_register_table('orbis_subscription_products', 'orbis_subscription_types');
     orbis_register_table('orbis_subscriptions_invoices');
     if (is_admin()) {
         $this->admin = new Orbis_Subscriptions_Admin($this);
     }
 }
 public function __construct($file)
 {
     parent::__construct($file);
     $this->set_name('orbis_timesheets');
     $this->set_db_version('1.2.2');
     $this->plugin_include('includes/functions.php');
     $this->plugin_include('includes/post.php');
     $this->plugin_include('includes/template.php');
     $this->plugin_include('includes/project-template.php');
     $this->plugin_include('includes/shortcodes.php');
     orbis_register_table('orbis_timesheets', 'orbis_hours_registration');
     orbis_register_table('orbis_activities');
     $this->email = new Orbis_Timesheets_Email($this);
     if (is_admin()) {
         $this->admin = new Orbis_Timesheets_Admin($this);
     }
     // Actions
     add_action('init', array($this, 'init'));
 }