add_filter( 'get_terms_args', 'wpse_53094_sort_get_terms_args', 10, 2 );
function wpse_53094_sort_get_terms_args( $args, $taxonomies )
{
global $pagenow;
if( !is_admin() || ('post.php' != $pagenow && 'post-new.php' != $pagenow) )
return $args;
$args['orderby'] = 'slug';
$args['order'] = 'DESC';
return $args;
}
Related Posts:
- How would I get a taxonomy/category list inside a Gutenberg block?
- Rewrite rule page url with category
- WP_Query not looking at child category
- Deleting default category in wordpress
- Excluding posts from a category but only if they’re not in multiple categories
- How to show posts of an columnized different categories on the same line or row?
- Echo one category as title when post has multiple categories?
- Most recent post from every category/taxonomy but sorted by date
- I use same slug name for category and page
- Showing all the posts in one page?
- On Category page, How can I get the category ID?
- How to order categories in Woocommerce that are spread over multiple pages? [closed]
- Script to duplicate categories as tags
- Check if post belongs to any category
- How do I display the posts from a custom post type on a category.php page?
- How to sort categories by id in wordpress admin
- How to override Category rendering mechanism
- Automatically add product_categories to nav_menu
- Can paginate_links() be customized for a specific category or tag?
- Add Product categories to WordPress menu without losing hierarchy
- How to set up Author archives with sub category URL
- How to change number of items on add new pluggins page from backend?
- How to display posts under a specific subcategory of a given category
- Ignoring a category in WP_Query still shows the links in next_post_link()?
- Implementing a tricky wordpress menu (nested categories + thumbnails)
- Do I have to use categories?
- get_the_category and echo out link to child-most/deepest category
- Categorising posts/pages into years published
- How can I duplicate categories and tags?
- If posts category is “cars”, display image
- Display category description instead of “nothing found” page
- query in category.php repeats itself
- Subcategories with the same name
- Link Attachment Image to Category
- How can I add more “filters” to my products? (Categories, attributes, etc.)
- Removing post category base giving Error 404
- posts_nav_link(); picks up index.php instead of category.php as template
- Category name field strips HTML tags. How can I reverse this?
- Is There a Difference Between Taxonomies and Categories?
- Check IF category_description exists
- Related Tags not in category
- Show the latest post from child category?
- How to show a list of only categories (exclude subcategories)
- How to list categories in reverse alphabetical order?
- I want to show category name when using [category] shortcode
- Category list with postcount
- How to add categories on a page [duplicate]
- What Must to Display the “mysite.com/category” URL?
- How to hide some categories in dashboard
- How to choose the content from a post which is in the right category?
- How to display product with two condition, category and brand taxonomy
- Getting the first parent of a hierarchical term
- How to get category id’s which are added in main menu?
- Include either name or slug in the include parameter using wp_list_categories?
- get cat id is not working from custom taxonomy
- Category List and Automatic jQuery classes
- How to add a custom thumbnail size for a specific category?
- Show the current post’s category, without displaying parent category
- get all categories’ latest post in one query
- Categories show 404 error on multisite installation
- Show posts from category specified using a custom field
- Custom menu with categories and tags
- excude a specidic category from showing in the “relative posts”
- Show posts from a single category by default using wordpress.com
- Filtering blog posts by category
- Get Categories of multiple posts
- Show subcategories broken when WP/WC updates
- Display menu in category and sub category
- Show alternative menu based on page template AND post category
- How to change category labels in different colors?
- Display some WordPress categories as random order
- Correct Hook/Filter to amend category choices on post edit page
- How to create a category loop on my blog (ACF Plugin)
- On main page, in each post, display image depending on post category
- WordPress categories hierachy issue
- How to test if the post is in a primary category
- How to get the term id inside the start lvl method of category walker?
- Most efficient way to display current post subcategories?
- How to relocate images
- Category next page link not working
- How to display the past events in one of the category?
- How to Query the Top 5 Posts of a specific category?
- Category For Pages In WordPress
- Inserting categories as a hierarchical terms from frontend form
- How to add a post with new Taxonomy without assigning to default category?
- category__and works, but why?
- Page Type with Category Link
- Using wp_list_pages to create 2 lists of pages and include and exclude some of them depending on their category
- How to create default categories in new installs?
- If I change the taxonomy of a post will it get a new time stamp?
- Check if value is a custom taxonomy category name
- Tracking multiple tags or categories
- 2 loops in archive.php (one for each category)
- How to load jquery tag-it plugin into admin?
- not empty categories don’t show in menu [closed]
- How do I add and display a custom image field to a category? [duplicate]
- Display post of current parent category, and in right hand side show child category post
- Category pagination not working in category.php please help me
- Print the associated categories of the current post starting with parent (with option to remove href)
- Add category image before post title on homepage