This should do it.
function register_additional_page(){
add_submenu_page('edit.php?post_type=tree', 'Bulk Process', 'Bulk Process', 'activate_plugins', 'tree_bulk_process', 'render_bulk_tree_process');
}
add_action('admin_menu', 'register_additional_page');
And the function that renders the page.
function render_voucher_list_page(){
?>
<h2>Hello World</h2>
<?php
}
Change post_type=tree
to your Custom Post Type, Bulk Process
to the menu title, activate_plugins
to your desired user capability, tree_bulk_process
to your page ‘slug’ and render_bulk_tree_process
to your custom function that renders the page.
Hope this help
Related Posts:
- Possible to hide Custom Post Type UI/Menu from specific User Roles?
- Custom Post Type Data in Sidebar widgets?
- WordPress dashboard, viewing CPT results in 504
- Displaying Custom Post Types In “At A Glance” Meta Box
- Show Custom Taxonomy Inside Custom Menu
- What is the use of the wp_links table?
- Adding Custom Post Type Counts to the Dashboard
- Building a Digg clone using WordPress?
- Removing custom post type from link search results
- Including Custom Post Types in “Recent Posts” Widget
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- Add / Remove Post Type from “Link to existing content” popup
- Taxonomy terms with edit/filter link in wp-admin, in the list of custom posts
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Website bookmarks as a custom post type
- Get_post_meta() won’t return value
- Adding help information to custom post edit page
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- How can I show some description in the “All Posts” view of a custom post type in Dashboard?
- How do I display custom post types through a common taxonomy?
- Related links – from other sites
- Add custom post types stats to a custom dashboard widget
- Sending an email when a CPT is saved/updated (NOT when it’s created)
- How to redirect wp-admin/index.php to a custom post type?
- Separate comment section for post type in dashboard
- Display custom post data in sidebar w/ dropdown
- Delete link on single-custom.php with redirection
- right_now_content_table_end function not working?
- Linking to the most recent post in a Custom Post Type
- Customize the Dashboard Menu Editor
- How to make this menu drop down or like accordion
- Link to full size post thumbnail
- Custom page sidebar using Template dropdown box
- Random image from tag/custom type on sidebar
- filter custom post type by meta key in dashboard
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Team club with CPTs and user registration + user dashboard
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- WordPress CPT save metadata in gutenberg
- Adding sidebar to template creates horizontal gap the size of the side bar
- customise template to only show custom post type entries
- why is the current page title being output?
- Linking to Post Types from wp-admin
- Custom sidebar for custom post type
- List Custom Post Types in Admin Dashboard
- Can’t replace the default sidebar with a custom sidebar on Custom Post Type in Genesis
- Add data to post edit page, when post is published
- Plain links in single-class.php and archive-class.php not working
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Modifying Dashboard edit.php
- Highlight current post type when inside custom post type
- How to exclude categories from a sidebar with active widgets in it?
- Images not load on custom post type sidebar, related posts
- Publish box in CPT remove ‘edit’ link
- allowing custom user role to access custom post type in wordpress admin
- Slow CPT in backend
- Replace Content of Sidebar on Custom Post Type
- How can i redirect click to new admin page not to edit screen in post table
- Metabox collapsed by default
- Custom page for creating/editing custom post type
- Is there a way to create a sidebar of bullets
- Disable Sidebar on certain pages
- Help Adding filter to Add Media button for custom post type
- Problem to get the link of the default ‘post’ post type like the orther custom types
- Custom user roles
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- How can I generate a list of post-type specific categories?
- Post Custom & Taxonomy 404 error
- Add role privileges of the custom post type
- creating different edit screens for different roles
- How to use get_sidebar in plugin folder?
- Can’t find link to add content to pages
- Change column of row action (Quick Edit) links in WP_List_Table
- Targeting specific Page Template for sidebar page
- Allow certain part of a page to be easily updated for client?
- Why the custom post type links don’t work if not login?
- How can I make a custom post type that loops pages in a new dashboard page, each single page is a new dashboard page (all within the back-end)?
- empty dashboard for custom role
- PHP Button Custom link [closed]
- Possible to limit internal link search to post types with Gutenberg editor?
- How can I show second most recent post in sidebar, if most recent post is open in the browser?
- Custom post type Premalinks main page and details page
- Change CPT Edit Target Link for Admin List
- Replace the custom post type permalink
- How to change permalink structure off default posts and also CPT’s posts
- How to exclude a certain CPT from a snippet for Dashboard box?
- Custom Block: Adding “Post Type” dropdown to Sidebar Settings
- Output terms for custom post types
- Suggestion on custom post type/ taxonomy relationship
- WordPress Loop if/else
- How to add multiple images to a custom post type without plugin [closed]
- Querying custom post type twice on same page
- How to display author post count for multiple custom post types?
- Showing specific post in order of array wp_query
- Custom post type pagination 404
- get_the_title() is returning results from previous loop
- It’s possible to hide body copy box for a custom post type?
- Why cant I add a custom post type to a custom taxonomy?
- Which custom post type does the current post belong to?
- Categorise Custom Post Types