I created a custom post type whic works perfectly fine. Now I want to have a submenu entry within the CPT which list all posts with the status pending, somthing like this:
- wp-admin/edit.php?post_type=&post_status=pending
I added a submenue, which then calls a page like:
- wp-admin/edit.php?post_type=&page=XYZ
There should be an easy way of doing this, but I didn't find it ;-(
Here ist what I want in detail:
Admin Menu
New CPT <br> -> wp-admin/edit.php?post_type=<CPT>
- Submenue -> wp-admin/edit.php?post_type=<CPT>&post_status=pending
Thanks for your help!