WC_REST_Product_Variations_Controller::set_variation_image( WC_Product_Variation $variation, array $image )
Set variation image.
Description Description
Parameters Parameters
- $variation
-
(Required) Variation instance.
- $image
-
(Required) Image data.
Return Return
Source Source
File: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php