WooCommerce : Add Custom Taxonomy Filter on Products Dashboard.

Code

How To Filter Products by Taxonomies in the Dashboard?

WooCommerce provide Many Product filters on admin screen , such as “Select a category”, “Filter by product type”, “Filter by stock status”.

For example ,if you want to add Custom filters like “Filter by tags” etc on products admin screen.
“Product tag” is a default taxonomies of WooCommerce same as “Product categories”. We can use ‘woocommerce_product_filters’ filter for adding other texonomy filters too.

Before
null

Paste this code to your theme’s functions.php for adding filter to product admin screen.

function CustomTaxonomyFilter( $data ) { 
  global $wp_query; 
  $data .= wc_product_dropdown_categories( array(
    'show_option_none' => 'Filter by Tags',
    'taxonomy' => 'product_tag',
    'name' => 'product_tag',
    'selected' => isset( $wp_query->query_vars['product_tag'] ) ? $wp_query->query_vars['product_tag'] : '',
  ) );
return $data;
}
add_filter('woocommerce_product_filters','CustomTaxonomyFilter' );

//output

After
null

Same filter can be used for extra custum texomony added.

function CustomTaxonomyFilter( $data ) { 
  global $wp_query; 
  $data .= wc_product_dropdown_categories( array(
    'show_option_none' => 'Filter by Brands',
    'taxonomy' => 'product_brand',
    'name' => 'product_brand',
    'selected' => isset( $wp_query->query_vars['product_brand'] ) ? $wp_query->query_vars['product_brand'] : '',
  ) );
return $data;
}
add_filter('woocommerce_product_filters','CustomTaxonomyFilter' );

Related reading:

Shiv Kumawat

Executive Director & CEO

Shiv Kumawat is the CEO of Eoxys IT Solution LLP, the Jaipur-based IT company he has led since 2009. An AI & IT Solutions Consultant with 16+ years of experience, he works with startups and enterprises to turn ideas into market-ready SaaS platforms, mobile apps and AI-driven solutions. His team has delivered 700+ projects across SaaS, mobile and web apps, automation and AI. He previously served as Chief Technology Officer for a US company.

Latest Posts

Telemedicine app development cost in the USA 2026 banner: Eoxys blue panel with a doctor in scrubs and headset on a video consultation

Telemedicine App Development Cost in the USA (2026)

A telemedicine visit in the USA only works when four things line up: the clinician is licensed in the state…

Shafeeq Khan
November 22, 2026
Colour photograph illustrating the Eoxys blog post 'AI MVP Development Cost in 2026: What You Pay and Why', used as the featured image for ai mvp development cost.

AI MVP Development Cost in 2026: What You Pay and Why

Founders asking about AI MVP development cost usually want one number. The honest answer is a range, because an AI…

Shafeeq Khan
November 22, 2026
Taxi app development cost in Saudi Arabia 2026 banner: Eoxys blue panel with a phone showing turn-by-turn navigation on a car dashboard

Taxi App Development Cost in Saudi Arabia (2026)

A ride in Saudi Arabia only counts as a completed trip when four things hold at once: a licensed, verified…

Shafeeq Khan
November 21, 2026
,

Leave a Reply

Your email address will not be published. Required fields are marked *