mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2025-04-19 13:45:35 +03:00
parent
4b05ac70b9
commit
08f0d9a30b
2 changed files with 6 additions and 2 deletions
|
@ -211,8 +211,8 @@ class PluginName {
|
|||
* Change 'plugin-name' to the name of your plugin
|
||||
*/
|
||||
$this->plugin_screen_hook_suffix = add_plugins_page(
|
||||
__( 'Page Title', $plugin_slug ),
|
||||
__( 'Menu Text', $plugin_slug ),
|
||||
__( 'Page Title', $this->plugin_slug ),
|
||||
__( 'Menu Text', $this->plugin_slug ),
|
||||
'read',
|
||||
$this->plugin_slug,
|
||||
array( $this, 'display_plugin_admin_page' )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue