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
| <?php
| // /taxonomies/form.php
| function altr_body_part():array
| {
| return [
| 'singular' => 'Location',
| 'plural' => 'Locations',
| 'description' => [
| 'Location of the tattoo on body.'
| ],
| 'icon' => 'person',
| 'show_feed' => true,
| 'show_directory' => true,
| 'approve_new' => false,
| 'rewrite' => [
| 'slug' => 'before-and-after/by/location',
| 'with_front' => false,
| 'hierarchical' => true,
| ],
| 'hierarchical' => true,
| 'for_content' => [
| 'progress',
| ],
| 'fields' => [
| 'term_name' => [
| 'label' => 'Name',
| 'type' => 'text',
| 'quickEdit' => true,
| ],
| 'common' => [ 'wiki' ]
| ]
| ];
| }
|
|