WC_REST_Products_V1_Controller::save_downloadable_files( WC_Product $product, array $downloads, int $deprecated )

Save downloadable files.


Description Description


Parameters Parameters

$product

(WC_Product) (Required) Product instance.

$downloads

(array) (Required) Downloads data.

$deprecated

(int) (Required) Deprecated since 3.0.


Top ↑

Return Return

(WC_Product)


Top ↑

Source Source

File: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php




Top ↑

User Contributed Notes User Contributed Notes

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