load_seo_policy(); $this->load_seo_manager(); $this->load_setup_wizard(); $this->load_seo_fixes(); $this->load_admin(); $this->load_api(); $this->load_database(); $this->load_scan_scheduler(); } private function load_seo_manager() { $file = AI_SEO_CRO_PATH . 'core/seo-manager.php'; if (file_exists($file)) { require_once $file; } } private function load_setup_wizard() { $file = AI_SEO_CRO_PATH . 'core/setup-wizard.php'; if (file_exists($file)) require_once $file; } private function load_scan_scheduler() { $file = AI_SEO_CRO_PATH . 'core/scan-scheduler.php'; if (file_exists($file)) { require_once $file; AI_SEO_CRO_Scan_Scheduler::init(); } } /* |-------------------------------------------------------------------------- | Load SEO Fixes |-------------------------------------------------------------------------- */ private function load_seo_fixes() { $file = AI_SEO_CRO_PATH . 'core/seo-fixes.php'; if (file_exists($file)) { require_once $file; } } /* |-------------------------------------------------------------------------- | Load SEO Policy |-------------------------------------------------------------------------- */ private function load_seo_policy() { $file = AI_SEO_CRO_PATH . 'core/seo-policy.php'; if (file_exists($file)) { require_once $file; } } /* |-------------------------------------------------------------------------- | Load Admin Module |-------------------------------------------------------------------------- */ private function load_admin() { $file = AI_SEO_CRO_PATH . 'admin/dashboard.php'; if (file_exists($file)) { require_once $file; } } /* |-------------------------------------------------------------------------- | Load API Module |-------------------------------------------------------------------------- */ private function load_api() { $file = AI_SEO_CRO_PATH . 'api/rest-routes.php'; if (file_exists($file)) { require_once $file; } } /* |-------------------------------------------------------------------------- | Load Database Module |-------------------------------------------------------------------------- */ private function load_database() { $file = AI_SEO_CRO_PATH . 'database/migrations.php'; if (file_exists($file)) { require_once $file; } } }