I have the following code that I am trying to create a custom WordPress plugin:
<?php
function scheduler_admin_actions() {
add_options_page('Dump-It Scheduling', 'Dump-It Schedule', 'Administrator', 'Dump-It_Master_Schedule');
}
add_action('admin_menu', 'scheduler_admin_actions');
?>
However, I do not see the add link in the application admin section. I have activated the plugin, but I expect to see an option for this plugin. As far as I understand, I should see a link added to the admin panel.
I will also add that I have no errors (I am using a debugger plugin). I can’t understand what is happening here ...
I use WordPress 3.6.1 if that matters.
What am I missing?
source
share