Commit 8adf07c2 authored by KR Moorhouse's avatar KR Moorhouse Committed by GitHub

Merge pull request #3561 from wpninjas/issue#3560

changed has_archive to false to avoid an archive page with submissions
parents 310c9995 712b3149
......@@ -78,11 +78,12 @@ class NF_Admin_CPT_Submission
'show_in_menu' => false,
'menu_position' => 5,
'show_in_admin_bar' => false,
'show_in_nav_menus' => true,
'show_in_nav_menus' => false,
'can_export' => true,
'has_archive' => true,
'has_archive' => false,
'exclude_from_search' => true,
'publicly_queryable' => true,
'publicly_queryable' => false,
// 'rewrite' => false,
'capability_type' => 'nf_sub',
'capabilities' => array(
'publish_posts' => 'nf_sub',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment