| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* This file is part of the WindPress package. |
| 5 |
* |
| 6 |
* (c) Joshua Gugun Siagian <suabahasa@gmail.com> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
declare (strict_types=1); |
| 12 |
namespace WindPressDeps; |
| 13 |
|
| 14 |
/** |
| 15 |
* Plugin constants. |
| 16 |
* |
| 17 |
* @since 3.0.0 |
| 18 |
*/ |
| 19 |
class WIND_PRESS |
| 20 |
{ |
| 21 |
/** |
| 22 |
* @var string |
| 23 |
*/ |
| 24 |
public const FILE = __DIR__ . '/windpress.php'; |
| 25 |
/** |
| 26 |
* @var string |
| 27 |
*/ |
| 28 |
public const VERSION = '3.2.88'; |
| 29 |
/** |
| 30 |
* @var string |
| 31 |
*/ |
| 32 |
public const WP_OPTION = 'windpress'; |
| 33 |
/** |
| 34 |
* @var string |
| 35 |
*/ |
| 36 |
public const DB_TABLE_PREFIX = 'windpress'; |
| 37 |
/** |
| 38 |
* The text domain should use the literal string 'windpress' as the text domain. |
| 39 |
* This constant is used for reference only and should not be used as the actual text domain. |
| 40 |
* |
| 41 |
* @var string |
| 42 |
*/ |
| 43 |
public const TEXT_DOMAIN = 'windpress'; |
| 44 |
/** |
| 45 |
* @var array |
| 46 |
*/ |
| 47 |
public const EDD_STORE = ['store_url' => 'https://jooo.si', 'item_id' => 2250]; |
| 48 |
/** |
| 49 |
* @var string |
| 50 |
*/ |
| 51 |
public const REST_NAMESPACE = 'windpress/v1'; |
| 52 |
public const DATA_DIR = '/windpress/data/'; |
| 53 |
public const CACHE_DIR = '/windpress/cache/'; |
| 54 |
} |
| 55 |
/** |
| 56 |
* Plugin constants. |
| 57 |
* |
| 58 |
* @since 3.0.0 |
| 59 |
*/ |
| 60 |
\class_alias('WindPressDeps\WIND_PRESS', 'WIND_PRESS', \false); |
| 61 |
|