You’re passing edit.php?post_type=reserve as first parameter and that should be parent menu slug. Instead pass it as menu_slug parameter, see code snippet below.
add_submenu_page(
'reserve/admin',
'Reserve',
'Reserve Builder',
'view_reservation_plugin', // $capability
'edit.php?post_type=reserve'
);
Related Posts:
- Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?
- Custom Post Type Plugin: Where Do I Put The Template?
- How to Add Custom Taxonomy To Woocommerce Plugin
- Creating a Custom Post Type as a Plugin? Why?
- Quick edit screen customization
- Mini-Site Strategy
- Render a different post/template from within the template_include action?
- Unable to filter on field on edit.php page
- Custom Taxonomy and tax_query Issue?
- How to register custom post types in a plugin?
- Actions that Run on Admin Edit Page Load After Posts Are Queried
- Custom role capabilities to administrator not taking effect (no plugin)
- Hierarchical or Non-hierarchical Custom Post Type in Real World Example
- How to append element after thumbnail
- How could I create a ‘private comments’ section on a custom post type?
- handling csv data with a custom post type
- Issue with pre_get_posts on custom post type archive pages
- Detect where custom post type is declared
- Metadata for a taxonomy – is there any WordPress way of doing this?
- Insert Multiple Post with Same Publish Button
- get_object_taxonomies() returns empty array for custom post type
- Adding a custom post type taxonomy template in plugin
- Plugin: register custom post types, child ready and performance best practices
- Add custom ID to CPT posts only create not update
- Add custom post type as submenu [closed]
- Unable to get Custom Plugin Options data
- What is the best practice for displaying my plugin content in themes?
- Add Custom Post type menu to another menu in specific location
- Plugin fatal error
- Wrap meta boxes & data handling for specific post types in classes?
- Suggestion on custom post type/ taxonomy relationship
- ACF in wordpress
- Theme independent plugin by using default page template
- How do you make a list and list item relation if custom post types?
- Add form after woocommerce admin order edit
- Custom Meta Box returns no HTML
- Unable to format dates to put in event calendar
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Dynamic assign a custom template to custom post type posts
- Custom post type in Custom widget – $listItem
- Validate Custom Post Type fields
- Is it possible to sort metabox teaxtarea values?
- Generating and downloading files with WP API
- Convert Custom Table Data Based Plugin To Be Searchable
- Modify a plugin function output from another plugin
- Custom rewrite rules for /pastissues/%category%-%postname%.html
- Content in WP Editor displayed below CPT shortcode [duplicate]
- Writing a custom Glossary plugin
- Limit Amount of Pages users can create in Custom Post Types
- restricting custom rewrite to just one custom post type
- Wp Meta Query does not work while simple Query Works
- Change Text in Admin Panel
- How to show Custom Post Types under Taxonomy in a new WordPress page template?
- Custom Endpoint For Specific Custom Post Type
- How to add a default predefined thumbnail when creating a brand new post?
- Plugin Development using classes – Public & Private Callbacks
- Create a post automatically if search result has zero results
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- custom post type and user post count shortcode
- How to display the post using a shortcode in WordPress?
- Custom post type specific item design
- Correct way adding External classes to Custom Post type and output their methods to template
- Issue removing columns from admin table
- Shortcode and get_template_part
- dynamic vue widget inside custom post
- Custom Post Type Front Page Gives 404
- Getting data from dynamically allocated metaboxes within a custom post
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- WP REST API Custom endpoint don’t work in my plugin
- % encoded URL giving 404 error in WordPress
- get_permalink() of page the enclosing page not posts
- Run query on specific admin options page and send results to select field in another function
- Not able to get all the actions (View, Edit, Quick Edit, Trash), and not able to delete post in custom post type
- how to allow subscriber to add/edit/delete custom post type
- Facing some Issues on Two Parts Custom Post Type Taxonomy Names
- Custom meta box in editor of custom post type not working
- WP_Query doesn’t accept Category ID
- Error in WP Query. If variable is empty it is displaying previous post value
- Not Able to Get Custom Post Type in Single and Single-custom-post-type
- Remove Custom Capability
- Can I override the permalink/slug on creation
- call_user_func_array() error after moving to another server
- Custom post type not being pulled in widget
- Issue on Counting CPT’s Under Taxonomy Term
- Custom Taxonomy Showing in WP Menu
- Issue on Adding Taxonomy to Custom Post Type Using Function
- Add Excerpt On Quicksand Plugin
- Custom Post Types in plugins?
- How to apply order on custom taxonomy and custom meta key on custom post type
- Inserting into WP DB
- Don’t display post if post has empty body
- Set a Custom Post Type as a Homepage
- Need some hints for my own WP theme development
- How to change post cpt with submit button?
- Custom Post Type featured option
- How to filter custom post data with AJAX?
- How to consume external API from WordPress post editor and display the response data in the custom field?
- How can I allow plugin users to define layouts for a custom post type
- Post URL redirecting to homepage
- Query custom fields with three dates – start and end does not work