*/ class Modules extends AdminSettingsModel { public function __construct() { $this->modules_init(); } /** * Include Moduels * * @return void */ public function modules_init() { $this->options = AdminSettings::get_instance()->get(); if (Utils::check_modules($this->options['folders'])) { new Folders(); } if (Utils::check_modules($this->options['quick_menu'])) { new QuickCircleMenu(); } if (Utils::check_modules($this->options['login_customizer'])) { new LoginCustomizer(); } if (Utils::check_modules($this->options['admin_notices'])) { new Dismiss_Admin_Notices(); } if (Utils::check_modules($this->options['admin_columns'])) { new AdminColumns(); } if (Utils::check_modules($this->options['menu_editor'])) { new MenuEditor(); } if (Utils::check_modules($this->options['dashboard_widgets'])) { new DashboardWidget(); } if (Utils::check_modules($this->options['pagespeed_insights'])) { new GooglePageSpeed(); } if (Utils::check_modules($this->options['custom_css_js'])) { new CustomHeaderFooter(); } if (Utils::check_modules($this->options['menu_duplicator'])) { new MenuDuplicator(); } if (Utils::check_modules($this->options['activity_logs'])) { new ActivityLogs(); } if (Utils::check_modules($this->options['notification_bar'])) { new NotificationBar(); } if (Utils::check_modules($this->options['admin_pages'])) { new AdminPages(); } if (Utils::check_modules($this->options['post_duplicator'])) { new PostDuplicator(); } if (Utils::check_modules($this->options['post_types_order'])) { new PostTypesOrder(); } if (Utils::check_modules($this->options['disable_comments'])) { new DisableComments(); } if (Utils::check_modules($this->options['sidebar_generator'])) { new Sidebar_Generator(); } if (Utils::check_modules($this->options['server_info'])) { new ServerInformation(); } if (Utils::check_modules($this->options['server_info'])) { new RollbackVersion(); } } }