Your menu slug (5th parameter) can’t be the same across multiple pages, and it obviously can’t have an & in it, but you can have all the pages you want call the same callback function (the last param).
add_submenu_page('upload_manage', "Programs", "Programs", 'manage_options', 'manage-programs', "manage_data");
add_submenu_page('upload_manage', "Schedule", "Schedule", 'manage_options', 'manage-schedule', "manage_data");
Then in the manage_data function, check the value of $_GET[‘page’] for the slug and act accordingly.
Related Posts:
- How to put placeholder text in the main post input area?
- Global State During an Admin Post
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- Disable Auto-Expanding Menu in WordPress Admin Menus
- How to add text editor in plugin menu?
- How to make an admin plugin menu page go full screen?
- Forcing ALL plugin Admin menus into a separate menu
- How can I add an image upload field directly to a custom write panel?
- Passing arguments to a admin menu page callback?
- Plugin API for easy admin list table generation, handling & exporting of MySQL tables?
- Export data as CSV in back end with proper HTTP headers
- Completely remove WP_Admin_Bar for specific user roles
- API to trigger prompt on leaving page
- What is the recommended way to create plugin administration forms?
- Show message on wordpress admin dashboard
- how to use thickbox in admin?
- Add a jQuery function to admin pages
- Overwriting Core WordPress Functions with Plugins
- Is it save to require plugin.php early to be able to use get_plugin_data() earlier?
- WP Cron doesn’t save or in post body
- Naming Admin Menus and Submenus
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- Current class on admin menu using add_submenu_page()
- URLs of plugin resources?
- Problems with removing admin bar
- Hook event for upload image in the menu
- Check if I am in the Admin Panel (wp-admin)?
- add_menu_page() with function inside a class [duplicate]
- How to add Font Awesome 5 icons in WP Admin dashboard menu?
- Plugin with specific admin menu icon
- Passing array of strings to a SQL statement in a WordPress plugin
- How to redirect to action on custom page within admin section
- Hide Theme options and Customize Admin menu
- Add notification bubble notice in navigation using transients
- Can I individually style items in the backend widget list?
- How to run a external JavaScript file on wp-admin if admin, and other if normal user?
- Where should I put “run once” plugin pages?
- Issue plugin commands in admin settings page
- how query string in wordpress receive the value other than post and page [duplicate]
- Any problem in using native jquery ajax style instead of using admin-ajax.php?
- maintaing consistent layout wordpress dashboard
- Replacing Scripts in Admin Load_Scripts
- Programmatically modify an admin page UI of a WordPress site from my WordPress plugin
- Sub Menu content is being duplicated
- Render content after post title in wp-admin
- On cliking add new post redirect user to a custom page first
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Is it possible to restrict all admin pages except theme customisation and storefront using plugin?
- is it recommended to use WP_List_Table?
- Plugin sub-menu pages recommended structure and links
- Password field is empty when using wp_signon();
- Using ReactJS in the WordPress admin for plugin development
- template_redirect or admin-ajax.php?
- Add a page in admin without adding menu item
- How to load library scripts in admin from plugins in noConflict wrapper?
- Show error message after exception handled
- Issue with contextual help overwriting existing content
- Alternatives to DISALLOW_FILE_EDIT wp-config Constant? It Breaks Some Plugins
- How do I link to a php file in my plugin directory?
- WordPress Admin Login Custom Logo
- How to create custom settings page for custom plugin
- WordPress theme options Menu
- Wp-admin Custom User Management
- I am trying to make a page in the admin section similar to the appearance of the Profile page for users
- Unable to get a simple plugin admin page to work
- Filter for admin (back end) ‘reply to’ comment
- Redirect in WordPress plugin
- How to add custom view links to wp-admin/post.php?
- How to remove a CPT Menu from the Root Admin only
- jQuery UI tab does not work in the plugin page
- in_array function Problem
- Best practice for plugin: always detect admin-ajax call?
- Submit form to a different PHP file in the same plugin folder
- Use options to control jQuery plugin
- Restrict certain actions to plugin-specific admin menu pages only
- How do I duplicate a single post, with all its properties, and save it as a different post?
- Remove Meta-boxes (Yoast SEO plugin) [duplicate]
- Get cat parameter from admin-ajax
- check_admin_referer()
- Add New Button in Admin Panel
- 400 Bad Request and illegal invocation in wp_ajax based on processData set to false or true
- How to add admin.php to WP Admin Menu Link
- Admin menu hilighting wrong item for CPT
- Stop unauthorised file access
- How to display properly exception or echo string after posting in plugin?
- Convert each new line in the textfield as a new value in an array
- Get (eventual) permalink from post within Edit Post in Admin panel
- How put the correct URL to sub-menu plugin?
- Developing a plugin where users can edit entries saved in database
- Plugin dev: How to multiply instances of a plugin in the same metabox?
- How to add conent (text) to Add New pages form of admin in WordPress
- Issue with iframe in TinyMCE
- Link to a admin submenu item using a custom link
- Post data in wp-admin to external database
- admin page passing $_POST variables to itself
- Menu_slug used for creating options page
- modify buddpress adminbar only in admin pages
- Loading jQuery library from WordPress admin
- How to change the headline title for an admin page in a plugin?
- How to prepend a header section to all pages related to my WordPress Plugin