Variation_Swatches::add_exta_variation_data( array $variation, object $product_object, object $variation_object )
Add variation data to be able to see it in JS
Parameters
- $variation
-
(Required) Variation.
- $product_object
-
(Required) Product object.
- $variation_object
-
(Required) Variation object.
Return
(array)
Source
File: includes/modules/woocommerce_booster/views/variation_swatches.php
Expand full source code Collapse full source code View on Github