Skip to content

Commit da3c44d

Browse files
authored
Merge pull request #173 from wp-cli/menu-position
Inc 'menu_position' when scaffolding a post type
2 parents 8d313cd + 0b61dfe commit da3c44d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/post_type.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'has_archive' => true,
3535
'rewrite' => true,
3636
'query_var' => true,
37+
'menu_position' => null,
3738
'menu_icon' => 'dashicons-{{dashicon}}',
3839
'show_in_rest' => true,
3940
'rest_base' => '{{slug}}',

0 commit comments

Comments
 (0)