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.


Top ↑

Return Return

(WC_Product_Variation)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.