public static function uninstall() { $cptp = CPTP::get_instance(); foreach ($cptp->modules as $module) { $module->uninstall_hook(); } }