Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/cwd/wp-content/plugins/image-optimization/modules/oauth/ |
Upload File : |
<?php namespace ImageOptimization\Modules\Oauth; use ImageOptimization\Classes\Module_Base; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Class Module */ class Module extends Module_Base { /** * Get module name. * Retrieve the module name. * @access public * @return string Module name. */ public function get_name(): string { return 'oauth'; } public static function routes_list() : array { return [ 'Connect_Init', 'Disconnect', 'Get_Subscriptions', 'Activate', 'Deactivate', ]; } public static function component_list() : array { return [ 'Connect', 'Checkpoint', 'Connect_Pointer', ]; } public function __construct() { $this->register_components(); $this->register_routes(); } }