Warning: This method has been deprecated.

WC_REST_Legacy_Products_Controller::save_product_images( int $product_id, array $images )

Save product images.


Description Description


Parameters Parameters

$product_id

(Required)

$images

(Required)


Top ↑

Source Source

File: includes/legacy/api/class-wc-rest-legacy-products-controller.php

	protected function save_product_images( $product_id, $images ) {
		$product = wc_get_product( $product_id );

		return set_product_images( $product, $images );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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