Snippets

Visser Labs Override the default Product Brand Term Taxonomy detection in Store Exporter Deluxe

Updated by Michael Visser

File functions.php Modified

  • Ignore whitespace
  • Hide word diff
 <?php
 function custom_woo_ce_brand_term_taxonomy() {
 
-    // Term Taxonomy of Brands used within your WooCommerce store, defaults to product_brand
+	// Term Taxonomy of Brands used within your WooCommerce store, defaults to product_brand
 	return 'brand';
 
 }
Created by Michael Visser

File functions.php Added

  • Ignore whitespace
  • Hide word diff
+<?php
+function custom_woo_ce_brand_term_taxonomy() {
+
+    // Term Taxonomy of Brands used within your WooCommerce store, defaults to product_brand
+	return 'brand';
+
+}
+add_filter( 'woo_ce_brand_term_taxonomy', 'custom_woo_ce_brand_term_taxonomy', 11 );
+?>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.