HEX
Server: Apache
System: Linux uyu7574470001-7d78c9ff74-xfpwm 4.19.91-21.al7.x86_64 #1 SMP Wed Sep 2 19:47:49 CST 2020 x86_64
User: ()
PHP: 7.4.16
Disabled: chmod,exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,socket_create_listen,socket_create_pair,socket_create,socket_get_option,socket_getpeername,socket_getsockname,socket_last_error,socket_listen,socket_read,socket_recv,socket_recvfrom,socket_select,socket_send,socket_sendto,socket_set_block,socket_set_nonblock,socket_set_option,socket_shutdown,socket_strerror,socket_write,stream_socket_client,stream_socket_server,pfsockopen,disk_total_space,disk_free_space,chown,diskfreespace,getrusage,get_current_user,getmyuid,getmypid,dl,leak,listen,chgrp,link,symlink,dlopen,proc_nice,proc_get_stats,proc_terminate,shell_exec,sh2_exec,posix_getpwuid,posix_getgrgid,posix_kill,ini_restore,mkfifo,dbmopen,dbase_open,filepro,filepro_rowcount,posix_mkfifo,putenv,sleep,fsockopen
Upload Files
File: /usr/home/uyu7574470001/htdocs/wp-content/plugins/pojo-accessibility/modules/legacy/module.php
<?php

namespace EA11y\Modules\Legacy;

use EA11y\Classes\Module_Base;
use EA11y\Modules\Legacy\Components\Customizer;
use EA11y\Modules\Legacy\Components\Settings;
use EA11y\Modules\Legacy\Components\Upgrade;
use EA11y\Modules\Connect\Module as Connect;
use EA11y\Plugin;

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

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

	public static function component_list() : array {
		return [
			'Frontend',
			'Customizer',
			'Settings',
			'Admin',
			'Upgrade',
		];
	}

	public function backwards_compatibility() {
		if ( false === get_option( POJO_A11Y_CUSTOMIZER_OPTIONS, false ) ) {
			/**
			 * @var Customizer $customizer
			 */
			$customizer = $this->get_components()['Customizer'];
			$customizer_fields = $customizer->get_customizer_fields();
			$options = [];
			$mods = get_theme_mods();
			foreach ( $customizer_fields as $field ) {
				if ( isset( $mods[ $field['id'] ] ) ) {
					$options[ $field['id'] ] = $mods[ $field['id'] ];
				} else {
					$options[ $field['id'] ] = $field['std'];
				}
			}
			update_option( POJO_A11Y_CUSTOMIZER_OPTIONS, $options );
		}
	}

	public function add_elementor_support() {
		$this->register_components( [ 'Elementor'  ] );
	}

	public static function get_settings() {
		/**
		 * @var Settings $settings
		 */
		return Plugin::instance()->modules_manager->get_modules( 'Legacy' )->get_component( 'Settings' );
	}

	public static function is_active(): bool {
		$connect = new Connect();

		if (
			( Upgrade::has_legacy_data() && ! Upgrade::is_upgraded() && ! $connect::is_connected() )
			|| Upgrade::is_reverted()
		) {
			return true;
		}
		return false;
	}

	/**
	 * Module constructor.
	 */
	public function __construct() {
		$this->register_components();
		add_action( 'admin_init', [ $this, 'backwards_compatibility' ] );
		add_action( 'elementor/init', [ $this, 'add_elementor_support' ] );
	}
}