PluginProbe
Extendify / 3.1.5
Extendify v3.1.5
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / app / Constants.php

Constants.php in Extendify 3.1.5, at app/Constants.php

41 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 /**
25 * All Extendify service base URLs.
26 *
27 * @return string[]
28 */
29 public static function serviceUrls()
30 {
31 return [
32 self::AI_HOST,
33 self::PATTERNS_HOST,
34 self::KB_HOST,
35 self::INSIGHTS_HOST,
36 self::IMAGES_HOST,
37 self::DASHBOARD_HOST,
38 ];
39 }
40 }
41