?AlkantarClanX12

Your IP : 216.73.217.134


Current Path : /home/r/a/n/rankinh/numerik/wp-content/plugins/image-optimization/modules/backups/
Upload File :
Current File : /home/r/a/n/rankinh/numerik/wp-content/plugins/image-optimization/modules/backups/module.php

<?php

namespace ImageOptimizer\Modules\Backups;

use ImageOptimizer\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();
	}
}