This is the main plugin file. It activates but nothing happens. The menu is not created.
/*
* Activate plugin
* create admin menu
* create more stuff
*/
register_activation_hook(__FILE__, 'markmast_activate');
function markmast_activate() {
add_action('admin_menu', 'markmast_create_admin_menu');
function markmast_create_admin_menu() {
add_menu_page( 'Marketing Master', 'Marketing Master Settings', 'manage_options', 'custom');
}
}