mirror of
https://gh.wpcy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-04-21 07:09:20 +08:00
* updated connect admin page * Use unified widget URL instead of hardcoded Js to support envs * Removed enqueue of fictional widget.js and reuse settings `admin` handle
22 lines
534 B
PHP
22 lines
534 B
PHP
<?php
|
|
|
|
namespace EA11y\Modules\Connect\Classes;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
/**
|
|
* Class Config
|
|
*/
|
|
class Config {
|
|
const APP_NAME = 'once-click-accessibility';
|
|
const APP_PREFIX = 'ea11y';
|
|
const APP_REST_NAMESPACE = 'ea11y';
|
|
const BASE_URL = 'https://my.elementor.com/connect';
|
|
const ADMIN_PAGE = 'accessibility-settings';
|
|
const APP_TYPE = 'app_access';
|
|
const SCOPES = 'openid offline_access share_usage_data';
|
|
const STATE_NONCE = 'ea11y_auth_nonce';
|
|
const CONNECT_MODE = 'site';
|
|
}
|