File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
plugins/osi-features/inc/classes/taxonomies Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -68,18 +68,20 @@ public function get_post_types() {
6868 * @return array
6969 */
7070 public function get_args () {
71-
72- return wp_parse_args (
73- [
74- 'hierarchical ' => false ,
75- 'rewrite ' => array (
76- 'slug ' => 'about/board-of-directors ' ,
77- 'with_front ' => false ,
78- 'hierarchical ' => false ,
79- ),
80- ],
71+ return wp_parse_args (
72+ array (
73+ 'hierarchical ' => false ,
74+ 'rewrite ' => false ,
75+ 'public ' => false ,
76+ 'publicly_queryable ' => false ,
77+ 'show_ui ' => true ,
78+ 'show_in_menu ' => true ,
79+ 'show_in_nav_menus ' => false ,
80+ 'show_in_rest ' => true ,
81+ 'show_admin_column ' => true ,
82+ 'query_var ' => true ,
83+ ),
8184 parent ::get_args ()
8285 );
8386 }
84-
8587}
You can’t perform that action at this time.
0 commit comments