show ui for taxonomies (useful when enabled for other post types)

This commit is contained in:
leogermani 2019-01-21 15:24:24 -02:00
parent ffe086d417
commit 0f7c727eab
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ class Taxonomy extends Entity {
$args = array(
'hierarchical' => true,
'labels' => $labels,
'show_ui' => tnc_enable_dev_wp_interface(),
'show_admin_column' => tnc_enable_dev_wp_interface(),
'show_ui' => true,
'show_admin_column' => false,
'rewrite' => [
'slug' => $this->get_slug()
],