Automattic\WooCommerce\Internal\CLI\Migrator\Core

WooCommerceProductImporter::set_image_download_timeoutpublicWC 1.0

Set HTTP timeout for image downloads.

Method of the class: WooCommerceProductImporter{}

No Hooks.

Returns

Int. Modified timeout.

Usage

$WooCommerceProductImporter = new WooCommerceProductImporter();
$WooCommerceProductImporter->set_image_download_timeout(): int;

WooCommerceProductImporter::set_image_download_timeout() code WC 10.7.0

public function set_image_download_timeout(): int {
	return $this->import_options['image_timeout'];
}