| 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.86'; |
| 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 = [ |
| 48 |
'store_url' => 'https://rosua.org', |
| 49 |
'item_id' => 2250, |
| 50 |
// WindPress or Yabe Siul |
| 51 |
'author' => 'idrosua', |
| 52 |
]; |
| 53 |
/** |
| 54 |
* @var string |
| 55 |
*/ |
| 56 |
public const REST_NAMESPACE = 'windpress/v1'; |
| 57 |
public const DATA_DIR = '/windpress/data/'; |
| 58 |
public const CACHE_DIR = '/windpress/cache/'; |
| 59 |
} |
| 60 |
/** |
| 61 |
* Plugin constants. |
| 62 |
* |
| 63 |
* @since 3.0.0 |
| 64 |
*/ |
| 65 |
\class_alias('WindPressDeps\WIND_PRESS', 'WIND_PRESS', \false); |
| 66 |
|