-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstant.php
More file actions
83 lines (71 loc) · 1.97 KB
/
constant.php
File metadata and controls
83 lines (71 loc) · 1.97 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
/*
* This file is part of the Yabe 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 2.0.0
*/
class YABE_WEBFONT
{
/**
* @var string
*/
public const FILE = __DIR__ . '/yabe-webfont.php';
/**
* @var string
*/
public const VERSION = '2.0.100';
/**
* @var string
*/
public const WP_OPTION = 'yabe_webfont';
/**
* @var string
*/
public const DB_TABLE_PREFIX = 'yabe_webfont';
/**
* The text domain should use the literal string 'yabe-webfont' 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 = 'yabe-webfont';
/**
* @var array
*/
public const EDD_STORE = [
'store_url' => 'https://rosua.org',
'item_id' => 18,
'author' => 'idrosua',
];
/**
* @var string
*/
public const REST_NAMESPACE = 'yabe-webfont/v1';
/**
* @var string
*/
public const HOSTED_WAKUFONT = 'https://wakufont-hosted.rosua.org';
/**
* @var string
*/
public const PLUGIN_URI = 'https://webfont.yabe.land';
/**
* @var
*/
public const USER_AGENTS = [
'WOFF2' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0',
'WOFF' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:38.0) Gecko/20100101 Firefox/38.0',
'TTF' => 'Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) Safari/538.1 Daum/4.1',
// 'CURRENT' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0',
'CURRENT' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0',
];
}