I'm currently developing a options-page for a small wordpress-plugin. I've already created the options-page with add_options_page() and also filled it with some nice options.
The only thing that's missing is the page-title. In selfsame I would like to include the name of the 'options-general.php'-page, because the options-page of the plugin is located in the menu under "Settings" (of course, I could simply write "Settings", but that's not multilingual).
For this reason I would like to get the page title of the Settings-page that's in the left admin-menu.
Of course, I could just do the following: add_options_page('Settings - pluginname', ...), but then "Settings" is not multilingual.
I need to pass the title of the settings-page + a specific word (e.g. "pluginname") to add_options_page().
I just want to get the title of the settings-page (options-general.php) with PHP.
add_options_page()
– jogesh_pi__('Settings') . ' : Plugin Name'
? This way Settings is translated normally. – brasofilo