1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 20:03:53 +02:00

disable the admin menu by default

This commit is contained in:
Tom McFarlin 2013-05-07 22:12:40 -04:00
parent b4992eaf65
commit cc42c4a554

View file

@ -64,7 +64,7 @@ class PluginName {
* Add the options page and menu item. * Add the options page and menu item.
* Uncomment the following line to enable the Settings Page for the plugin: * 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 * Register admin styles and scripts