-
Notifications
You must be signed in to change notification settings - Fork 1
Taxonomy Options
Carlos Moreira edited this page Jun 2, 2020
·
1 revision
The options parameter will be third argument used in the register_taxonomy() function from WordPress. You can refer to their documentation to see the accepted values.
Example:
return [
'type' => 'tag',
'name' => 'country',
'options' => [
'description' => 'Description for this taxonomy',
'public' => true,
'show_in_menu' => true,
],
'associations' => [
'book',
'post',
],
];