From cc42c4a554916a3d18f68e2f0d8565cb4b22c013 Mon Sep 17 00:00:00 2001 From: Tom McFarlin Date: Tue, 7 May 2013 22:12:40 -0400 Subject: [PATCH] disable the admin menu by default --- plugin-boilerplate/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-boilerplate/plugin.php b/plugin-boilerplate/plugin.php index 2f59fec..67da291 100644 --- a/plugin-boilerplate/plugin.php +++ b/plugin-boilerplate/plugin.php @@ -64,7 +64,7 @@ class PluginName { * Add the options page and menu item. * Uncomment the following line to enable the Settings Page for the plugin: */ - add_action( 'admin_menu', array( $this, 'plugin_admin_menu' ) ); + //add_action( 'admin_menu', array( $this, 'plugin_admin_menu' ) ); /* * Register admin styles and scripts