-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-data.php
More file actions
78 lines (72 loc) · 1.19 KB
/
example-data.php
File metadata and controls
78 lines (72 loc) · 1.19 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
<?php
/**
* Default data of the plugin.
*
* @package WP_KK_Writer_Plugin
*/
define(
'KKW_SECTION_TERMS',
array(
'Poetry',
'Fiction',
'Essays',
)
);
define(
'KKW_AUTHORS',
array(
'John Doe',
)
);
define(
'KKW_PUBLISHERS',
array(
'Best Books Publisher',
)
);
define(
'KKW_EXAMPLE_BOOKS',
array(
array(
'title' => 'Nice poems',
'author' => 'John Doe',
'section' => 'Poetry',
'publisher' => 'Best Books Publisher',
),
array(
'title' => 'A novel',
'author' => 'John Doe',
'section' => 'Fiction',
'publisher' => 'Best Books Publisher',
),
array(
'title' => 'Short stories',
'author' => 'John Doe',
'section' => 'Fiction',
'publisher' => 'Best Books Publisher',
),
array(
'title' => 'An essay',
'author' => 'John Doe',
'section' => 'Essays',
'publisher' => 'Best Books Publisher',
),
)
);
define(
'KKW_DEFAULT_TERMS',
array(
array(
'taxonomy' => KKW_SECTION_TAXONOMY,
'items' => KKW_SECTION_TERMS,
),
array(
'taxonomy' => KKW_AUTHOR_TAXONOMY,
'items' => KKW_AUTHORS,
),
array(
'taxonomy' => KKW_PUBLISHER_TAXONOMY,
'items' => KKW_PUBLISHERS,
),
)
);