MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //home/cafsindia/amazeing.in/wp-content/plugins/image-optimization/modules/backups/module.php
<?php

namespace ImageOptimization\Modules\Backups;

use ImageOptimization\Classes\Module_Base;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Module extends Module_Base {
	public function get_name(): string {
		return 'backups';
	}

	public static function routes_list() : array {
		return [
			'Remove_Backups',
			'Restore_Single',
			'Restore_All',
		];
	}

	public static function component_list() : array {
		return [
			'Handle_Backups_Removing',
			'Restore_Images',
		];
	}

	/**
	 * Module constructor.
	 */
	public function __construct() {
		$this->register_components();
		$this->register_routes();
	}
}