added a filter to make it possible to override if an attribute is variation by default, #10869
This commit is contained in:
parent
0664797f92
commit
84887409a0
|
@ -557,7 +557,7 @@ class WC_AJAX {
|
|||
'name' => $taxonomy,
|
||||
'value' => '',
|
||||
'is_visible' => apply_filters( 'woocommerce_attribute_default_visibility', 1 ),
|
||||
'is_variation' => 0,
|
||||
'is_variation' => apply_filters( 'woocommerce_attribute_default_is_variation', 0 ),
|
||||
'is_taxonomy' => $taxonomy ? 1 : 0
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue