You can use the admin_menu
hook. You will be able to loop over all menus.
add_action( 'admin_menu', 'wpse_306432_edit_post_type_admin_menu', 11);
function wpse_306432_edit_post_type_admin_menu()
{
global $menu;
foreach($menu as $k => $v){
if($v[1] == 'edit_applications') // possibly 'edit_application', I'm not sure
{
$menu[$k][2] = 'edit.php?post_status=all&post_type=application&cat=36&paged=1'; // I modify your query
break;
}
}
}
Should work for you 🙂
Don’t hesitate to add a nice :
echo '<pre>';
var_dump($menu);
echo '</pre>';
die();
After global $menu
to understand how it works, and change more !
Related Posts:
- Setting Custom Sort Order of Posts within a Category
- How to change the layout and styling of posts according to their category in WordPress?
- Add default content to post (for specific category)
- Show One Category on Post
- Add custom field to category of custom post type
- Do I use custom post type or something else?
- Custom Theme Want To Remove One Category From All Displays
- Deleted category by mistake, all posts now have categorized category. Can i revert that?
- How can i limit the number of posts created per category?
- WordPress custom Query for Posts in Category display posts multiple times
- WordPress Multisite – Create Default Post and New Category On New Site Install
- Set Default Category to Username
- if in category but only with post meta
- How to call posts under a specific category on static front page?
- Static pages not working
- How to display only one category in a custom post type?
- Can I style single post that are in multiple catergories?
- Custom post styling per category?
- Show custom post category for single post
- Add Categories To Custom Post
- Static text above category page
- Show a Category Specific Info Box
- Add default content to post (for specific category)
- Display ONLY Latest Post From Several Categories
- Taxonomy Category category.php not working
- Post’s arent displaying
- Only show posts belonging to multiple cateogries at same time
- I have a website issue I am trying to resolve
- How to display by default only published posts/pages in the admin area?
- Including categories in search results
- Count how many posts in category
- Custom Single Post By Category
- WordPress Delete hook with wp_delete_post function?
- What Defines What Category A Post Picks (if in multiple)
- Delete Post From Front-End and attachment permanently
- Limit function to specific post category
- Show all post titles
- Add Category name to Post Title (h1)
- Posts are not showing up on particular category
- How to delete old posts’ edits to save space?
- How to display related posts by subcategory and not parent category
- How to display WordPress archive into three columns [closed]
- How to include a post type in the admin/backend?
- Get mixed category random posts
- Using wp_list_categories like the the_category (showing just current categories of a post)
- Should I use posts or pages in this scenario?
- Using custom post template
- Adding custom fields to bbpress reply form
- How to allow users to post only in certain category and hide elements from edit page?
- Need help with category listing!
- Prepending %category% onto default posts fails
- List all categories with featured image from post?
- How to make the first post in the loop be styled like a “new / featured” post?
- Is it possible to customize the post according to post format in single.php?
- How can you display all sibling categories to a post?
- Category page when using static front page
- How to create a “latest news” page showing a list of posts from blog category
- how to hide empty fields of post category description?
- Display the 2nd category name of a custom post type without error if its null?
- Querying another post category to match current post and display in loop
- All categories displays the same posts
- Having pages after specifying post_type post
- datepicker value in mysql
- Get latest post from categories
- Simple Custom Metabox Not Saving
- How to show a featured image inside a post in only 1 single category
- Custom Post Type Single Loop Outputting Wrong Post
- Highlighting Current Category in the Archive and Feeds page
- Get current taxonomy and display query accordingly
- Geting error in post and category [closed]
- WordPress Post Deletion Issue
- Display most recent posts in category with Twenty Ten theme widget
- How Can I Always Display A Particular Post First Using WP_Query?
- MySQL: Possible to replace all of wp_posts.post_content(id#) via UPDATE + REPLACE + SELECT?
- Display a specific category in a focused area of my site
- How to add a custom class attribute into code wrapper? [duplicate]
- Redirecting wordpress search query to archive page
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to 301 redirect from url with post id to permalink with post name (slug)?
- Create/Set Category as Title of Post
- show image gallery in archives or category page
- Page with Category Returning 1
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- Get 5 most recent categories
- Dynamically load posts based on category
- Get Categories & Posts With Type Article
- Set multi posts random categories and tags
- Admin Post List Only Show One Category
- Add category attribute to custom recent post shortcode
- Checking if some condition is matched before inserting post into database
- Latest Posts not in the right order
- Display all post types together
- Retrieve latest post by multiple categories with ID
- How to Include a common category in a custom Category Search
- How to display only one post on first category page and rest on next pages?
- Viewing category won’t show up Custom post type posts
- How remove “recent comments” title without modifying code? [closed]
- Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]
- How to get if category has posts?
- Show some texts in posts belonging to Specific category