Skip to content

Instantly share code, notes, and snippets.

@pippinsplugins
Created November 18, 2015 21:07
Show Gist options
  • Save pippinsplugins/302cf6a961b1a6089c63 to your computer and use it in GitHub Desktop.
Save pippinsplugins/302cf6a961b1a6089c63 to your computer and use it in GitHub Desktop.
diff --git a/classes/class-setup.php b/classes/class-setup.php
index 149674b..9dd5d27 100644
--- a/classes/class-setup.php
+++ b/classes/class-setup.php
@@ -318,7 +318,10 @@ class FES_Setup {
'title'
),
'can_export' => true,
- 'show_ui' => false,
+ 'show_ui' => true,
+ 'show_in_menu' => false,
+ 'show_in_nav_menus' => false,
+ 'show_in_admin_bar' => false,
'labels' => array(
'name' => __( 'EDD FES Forms', 'edd_fes' ),
'singular_name' => __( 'FES Form', 'edd_fes' ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment