How do I give an options page its own menu?
-
How do I give an options page its own menu?
I’m using:
add_action(‘admin_menu’, ‘my_plugin_menu’);
function my_plugin_menu() {
add_options_page(‘My Plugin Options’, ‘My Plugin’, ‘manage_options’, ‘my-unique-identifier’, ‘my_plugin_options’);
}Which works fine and puts the options page under the “Settings” menu on the dashboard, but how would I put it under its own menu?
If this has been asked a million times, I apologize, but I’m not finding any info with search.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How do I give an options page its own menu?’ is closed to new replies.