| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Build-time URL rewrites (.github/workflows/build-*-zip.yml) target this file, |
| 5 |
* so any new PHP code that consumes these constants inherits the override. |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace Extendify; |
| 9 |
|
| 10 |
defined('ABSPATH') || die('No direct access.'); |
| 11 |
|
| 12 |
class Constants |
| 13 |
{ |
| 14 |
// Plugin requires PHP 7.0; constant visibility modifiers are PHP 7.1+. |
| 15 |
// phpcs:disable PSR12.Properties.ConstantVisibility.NotFound |
| 16 |
const AI_HOST = 'https://ai.extendify.com'; |
| 17 |
const PATTERNS_HOST = 'https://patterns.extendify.com'; |
| 18 |
const KB_HOST = 'https://kb.extendify.com'; |
| 19 |
const INSIGHTS_HOST = 'https://insights.extendify.com'; |
| 20 |
const IMAGES_HOST = 'https://images-resource.extendify.com'; |
| 21 |
const DASHBOARD_HOST = 'https://dashboard.extendify.com'; |
| 22 |
// phpcs:enable PSR12.Properties.ConstantVisibility.NotFound |
| 23 |
} |
| 24 |
|