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