This list can be modified using WooCommerce filters. However, without a thorough testing I could not find a specific filter to help you. You might check the API for a better answer.
Meanwhile, I have used this CSS snippet to successfully hide the “All Categories” entry from the drop-down selector:
li.option[data-value=""] {
display: none;
}
This will only prevent users from selecting “All Categories” again. It will not prevent your page from defaulting to “All Categories”.
Hope this is helpful!
Related Posts:
- WordPress Multiple Category Search
- Exclude categories from search query
- How to search for categories and/or tags?
- Sticky posts on home page, search, tag and archives without plugin
- Create product category and keyword search form in woocommerce? [closed]
- Custom Query to search through categories
- How to show empty category in admin menus search
- How to select product category while adding new product in woocommerce? [closed]
- How do I get the total number of categories in a list of search results?
- Category Search functionality on category metabox (wordpress admin)
- Search by word, category, tag, author
- Filtering search results
- Help with multiple dropdown tags search
- Multiple Category Search
- get_the_category and echo out link to child-most/deepest category
- I need to create a search form that will display search results from specific category
- Search Posts / Pages with multiple options?
- How to query post like normal search would do. within search.php page
- WordPress search only showing a few posts
- Site search needs to find posts for category topic AND Tag or keyword thats not in the post
- Search in custom post type AND in pages with category
- Select posts by name and category per REST API
- How do I toggle pagination on/off in search results and category listings via a link?
- Refine/Filter the Search Results by Category
- Show matching categories in search page
- Keyword search in multiple categories
- Get URL Category Name By ID
- Group search results by category
- Woocommerce search form with category select
- Using if statement in index.php instead of creating separate template files
- Search form options group categories
- Show Posts via cat+cat in URL that are in both Categories doesn’t work
- WordPress Default Category and Custom Taxonomy Selected Attribute not Working After Searched in wp_dropdown_categories Array
- Automatically adding tags and categories into Post Excerpt for searching
- Return all Tags and Categories in Separate List
- Search Replace Database ONLY for posts of certain category?
- Search by tag, category and author without plugin
- Issue with WordPress category search
- get_terms sort order with child categories of varying depth
- 404 error when i try to search by category or by tag
- Make related posts display first in search result
- A search box for all sites – Multisite
- Several loop in search result
- Search functionality with multiple categories
- Query posts that have all the specified tags
- Display category tree of a post in search results
- Display different sidebar based on search results from one category
- How to add featured image for category (without a plugin)?
- Category archive by year with permalink support /category/YYYY
- Create a category list page
- How do I use the same post slug for different Categories?
- Default WP Gallery – show only galleries of a certain category
- How to tax query X number of posts related by tag first, then by category if not enough in tag-related
- Woocommerce product categories order [closed]
- How do I create a way for users to assign categories to a post from the frontend?
- Exclude sub category posts from category display
- How to hide a specific category posts in my monthly archive?
- Give specific category its own permalink structure
- Automated adding of one tag to all the posts in a category
- How to set up sub-categories for author pages?
- Assign different category colours to different categories in the main menu
- Action hooks returning old category instead of new category
- Category checkboxes in upload modal
- wp_list_categories, Add class to all list items with children
- Using separator with wp_list_categories
- How to mass-insert categories?
- Multi-site or categories?
- View the latest created categories
- category hierarchy level as a body class – parent cat =1, child cat=2, grandchild=3
- How to display only posts assigned to a particular, isolated, subcategory
- How to Exclude post from a category
- How to change a post category when the ACF datepicker Field is today
- Older entries link within category page
- Two separate portfolio pages [closed]
- List Child Categorie and hide the parent
- Child categories doesn’t echo if it doesn’t contain at least a post
- About title on a page
- Show different title on category page
- Displaying year once in category.php [duplicate]
- Restrict CSS on one page
- Filter categories/tags to display in multiple metaboxes for selection in back-end
- Check is category parent with ids from the childs – get_term_children
- Are tags different than categories?
- list all child categories that apply to current post even if those cats are empty?
- Exclude categories from postquery
- Category pagination not working
- Getting the posts list visualised in categories tree
- wp_dropdown_categories() show elements checkbox
- How can I set a product’s url to reference the primary category in Woocommerce?
- Private categories in WordPress
- Trying to get categories and sub-category listing
- How to prevent WordPress from redirecting single page to prefixed category archive with same name?
- How to edit woocommerce sub-category page
- ACF plugin categories bug in WordPress 3.9
- List Categories in Custom Order
- Change rss title of individual feeds?
- Reversing the order of items in a category rss feed?
- have_posts is empty on category.php
- How to Organize my Photo Albums?
- How to get specific number of category post on a page or category page?