diff --git a/includes/fbproduct.php b/includes/fbproduct.php index c1d0f9a92..a5ac843c3 100644 --- a/includes/fbproduct.php +++ b/includes/fbproduct.php @@ -665,7 +665,8 @@ public function get_fb_brand($is_api_call = false) { // Only fallback to store name if no brand is found on product or parent if (empty($fb_brand)) { $brand = get_post_meta($this->id, Products::ENHANCED_CATALOG_ATTRIBUTES_META_KEY_PREFIX . 'brand', true); - $brand_taxonomy = get_the_term_list($this->id, 'product_brand', '', ', '); + $brand_taxonomy_slug = apply_filters( 'facebook_for_woocommerce_fb_product_brand_taxonomy', 'product_brand', $this->id ); + $brand_taxonomy = get_the_term_list($this->id, $brand_taxonomy_slug, '', ', '); if ($brand) { $fb_brand = $brand;