| | |
| | | * Whether to display a column for the taxonomy on its post type listing screens. Default false |
| | | * @var bool |
| | | */ |
| | | public bool $show_admin_column; |
| | | public bool $show_admin_column = true; |
| | | /** |
| | | * Provide a callback function for the meta box display. |
| | | * If not set, post_categories_meta_box() is used for hierarchical taxonomies, and post_tags_meta_box() is used for non-hierarchical. |
| | |
| | | * @var array |
| | | */ |
| | | public array $capabilities; |
| | | |
| | | |
| | | /** |
| | | * The URL to the icon to be used for this menu. Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme — this should begin with 'data:image/svg+xml;base64,'. Pass the name of a Dashicons helper class to use a font icon, e.g. |
| | | * 'dashicons-chart-pie'. Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. Defaults to use the posts icon. |
| | | * @var string |
| | | */ |
| | | public string $menu_icon; |
| | | /** |
| | | * Triggers the handling of rewrites for this taxonomy. Default true, using $taxonomy as slug. To prevent rewrite, set to false. To specify rewrite rules, an array can be passed with any of these keys: |
| | | * slug {string} - Customize the permastruct slug. Default $taxonomy key. |