Jake Vanderwerf
2026-02-10 649c6af379f1247cbbf924a6ed39244e9aba46fb
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
<?php
// /taxonomies/flags.php
function atat_flags():array
{
    return [
        'singular'     => 'Flag',
        'plural'       => 'Flags',
        'icon'         => 'warning-diamond',
        'rewrite'      => [
            'slug'         => 'flagged',
            'with_front'   => false,
            'hierarchical' => true,
        ],
        'hierarchical' => true,
        'for_content'  => [
            'soap',
        ],
        'fields'       => [
            'term_name'       => [
                'label'     => 'Name',
                'type'      => 'text',
                'quickEdit' => true,
            ],
            'common'          => [ 'wiki', 'alternate_name', 'keywords' ]
        ]
    ];
}