To add submenu items to a specific Pod’s menu, try this:
add_submenu_page( 'pods-manage-your_pod_name', 'My submenu item page title', 'My submenu item', 'manage_options', 'pods-manage-your_pod_name-my-submenu-item', 'your_callback_function' );
Do this during the admin_menu action in WordPress, or alternatively do it during the ‘pods_admin_menu’ action.
Related Posts:
- add_menu_page() with different name for first submenu item
- How to add sub-menu to a menu generated by wp_nav_menu by using plugin
- Change the_title() of a page dynamically
- How do I programatically insert a new menu item?
- Add Dividers or Separators Between Nav Menu Items
- Nav Menu meta failing to import
- Overwriting Core WordPress Functions with Plugins
- Some nav-menu filters do nothing
- Determine which theme location a wp_get_nav_menu_items is for
- Can I add pages to my custom menu via script?
- Replacing WordPress menu functionality with a plugin
- Hook event for upload image in the menu
- Why isn’t the Settings API designed to work for plugins using custom admin menus? [duplicate]
- How do I approach removing menu items on the fly based on settings in my plugin?
- What is the difference between current_page_parent and current_page_ancestor?
- Delete a specific item menu when I deactivate my plugin
- Create a Page via plugin
- Add Submenu Link in add_submenu_page That Opens in a New Window
- How to assign a WP 3.0 custom nav menu to a theme’s navigation menu location via script?
- Header Button Chance Polylang Elementor
- PHP 7 – Class Method Compatibility Issue
- How to add pages to custom menus on the fly [duplicate]
- How do I add a custom sublevel menu specified in one directory to a custom top level menu specified in another directory?
- Add notification bubble notice in navigation using transients
- Get Current Menu Location inside Nav_Walker
- Adding custom fields to WordPress nav menus
- Sub Menu content is being duplicated
- Plugin menu addition in multisite
- Remove unwanted elements for a wp_nav_menu
- Is this best practice for Dynamically adding items to WordPress menus?
- How to remove or add submenu item on plugin activate or deactive
- Custom code for WordPress dynamic menu
- How do I access the menus produced by Dashboard > Appearance > Menus
- wordpress add_submenu_page adds broken link
- WP Enqueue style on all plug-in pages
- Add child pages to submenu automatically
- Customize existing menu item
- Menu page with minimum capability as ‘Subscriber’ doesn’t allow ‘Admin’ to access it?
- Issue with plugin sub menu and pages
- How to add Plugin functionality in WordPress Frontend Menus
- How to hide page links from theme menu
- WP_NAV_MENU filter targets all menus
- Add user managable titles to custom menus?
- How to create archive page to add in menu
- How to show only the last two categories in a menu?
- Always hide a page from the menu
- remove different admin menu for specific users
- How to get an array out of a nav menu if it’s a plugin?
- What happens when you create/edit a menu
- Plugin admin list pages as submenu
- Adding parent custom post type menu option
- Create and style menu
- Change the class of wordpress menu
- Invalid Menu Items
- Declaration of mandoe_menu_walker::start_el(&$output, $item, $depth, $args) must be compatible with Walker::start_el(…)
- Custom Nav Walker $item->url producing malformed hyperlinks
- Displaying an Uploaded Image as a Custom Avatar in WordPress
- Adding a navigation with wp_nav_menu() to a custom block in the site editor
- How can I configure Docker for developing and deploying a custom theme?
- Completely remove WP_Admin_Bar for specific user roles
- What is the difference between using global $current_screen and get_current_screen()?
- How to make repeated component/block in Gutenberg
- How to filter $post->post_content prior to save
- How to get data from WordPress $wpdb into React Gutenberg Blocks Frontend?
- Why won’t register_setting() create a setting?
- Customizer Not Saving Options
- How to store a medium amount of options?
- Get the post id as early as possible
- Custom plugin changes not showing
- Beginner advice
- How To Prevent Certain Folder To Be Overwritten During Plugin Update?
- get_option() not returning expected value from plugin
- Including third party libraries in plugin [closed]
- What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
- should i be checking for jquery before enqueing it in a plugin
- WordPress Specified file failed upload test
- WordPress theme options Menu
- Can’t retrieve body params from PUT endpoint using formdata
- enabling Twig as Template Engine withing own plugin [closed]
- Set _regular_price 0 if empty in woocommerce product
- AJAX call to admin-ajax.php by subscriber returns home page
- Can I Hook Into the TinyMCE Insert/Edit Link Button to Use Shortlink For Post?
- Ajax function is not working on WordPress
- Best way to ping for the API changes in the wordpress?
- Writing editor content to a file
- Create an user on external database
- Form submission to another page returning 404 error [duplicate]
- Can / should a widget plugin define its own Widget Area?
- How to get the `comment_post_ID`?
- Can someone explain what’s the use of parse request function in WordPress?
- add_editor_style to the blog editor view (Gutenberg?)
- call funcution when clicking submit
- WooCommerce – Stop assigning order numbers
- Remove all capabilities in separate method fails versus included in method
- Hook for plugin to show content for certain urls
- Why does unzip_file always return true but nothing happens?
- Let user override plugin CSS
- Add_menu_page and saving settings
- add short code not working
- What method would I use to show an image in between X amount of posts on category archive? [duplicate]