mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
removing inline tabs, not localizing permissions.
related #44 fixes #41
This commit is contained in:
parent
b1d15663eb
commit
83138fb29f
1 changed files with 5 additions and 5 deletions
|
@ -258,11 +258,11 @@ class PluginName {
|
|||
* Change 'plugin-name' to the name of your plugin
|
||||
*/
|
||||
$this->plugin_screen_slug = add_plugins_page(
|
||||
__('Page Title', 'plugin-name-locale'),
|
||||
__('Menu Text', 'plugin-name-locale'),
|
||||
__('read', 'plugin-name-locale'),
|
||||
__('plugin-name', 'plugin-name-locale'),
|
||||
array( $this, 'display_plugin_admin_page' )
|
||||
__('Page Title', 'plugin-name-locale'),
|
||||
__('Menu Text', 'plugin-name-locale'),
|
||||
'read',
|
||||
'plugin-name',
|
||||
array( $this, 'display_plugin_admin_page' )
|
||||
);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue