1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2025-04-19 13:45:35 +03:00

Replace text-domain with variable and update pot

This commit is contained in:
Ulrich Pogson 2013-05-16 23:18:27 +02:00
parent e121073eb1
commit 773a3ad9d4
2 changed files with 4 additions and 12 deletions

View file

@ -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-name'),
__('Menu Text', 'plugin-name'),
__( 'Page Title', $plugin_slug ),
__( 'Menu Text', $plugin_slug ),
'read',
$this->plugin_slug,
array( $this, 'display_plugin_admin_page' )