Title: WPGraphQL support
Last modified: October 14, 2022

---

# WPGraphQL support

 *  [2cubed](https://wordpress.org/support/users/2cubed/)
 * (@2cubed)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpgraphql-support/)
 * Hi Team,
 * Really great plugin. I’m wondering if we can get the plugin integrated with WPGraphQL.
   All that would be needed to add these few lines when registering the brand taxonomy:
 *     ```
       'show_in_graphql' => true,
       'graphql_single_name'   => 'Brand',
       'graphql_plural_name'   => 'Brands',
       ```
   
 * Thanks for all the hard work.

Viewing 1 replies (of 1 total)

 *  [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * (@juaancmendez)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/wpgraphql-support/#post-16107043)
 * Hello there,
    we hope you’re doing well!
 * We have a filter called ‘**yith_wcbr_taxonomy_args**‘ for the arguments to use
   when registering the taxonomy. You can add code like the following in the **functions.
   php** file of your active child theme to achieve what you need:
 *     ```
       if ( ! function_exists( 'yith_wcbr_taxonomy_args_custom' ) ) {
           function yith_wcbr_taxonomy_args_custom( $args ) {
               $args += [ "show_in_graphql" => true, "graphql_single_name" => 'Brand', "graphql_plural_name" => 'Brands' ];
               return $args;
           }
           add_filter( 'yith_wcbr_taxonomy_args', 'yith_wcbr_taxonomy_args_custom', 99, 1 );
       }
       ```
   
 * Could you try it and tell us if it works well for you, please?
 * We will be attentive to your response.
 * Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘WPGraphQL support’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-brands-add-on/assets/icon.svg?rev=3054133)
 * [YITH WooCommerce Brands Add-On](https://wordpress.org/plugins/yith-woocommerce-brands-add-on/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-brands-add-on/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-brands-add-on/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-brands-add-on/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-brands-add-on/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-brands-add-on/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Juan Coronel](https://wordpress.org/support/users/juaancmendez/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/wpgraphql-support/#post-16107043)
 * Status: not resolved