WPIntell

Source evidence

WPGraphQL support

YITH WooCommerce Brands Add-On · support · 2022-10-14T15:13:00+00:00

complaintsentiment
mediumseverity
0.75relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
2cubed unresolved
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. 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!

Comments

1 shown
Juan Coronel 2022-10-17T16:13:00+00:00

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!