Warning: This method has been deprecated. No action is necessary on changes to download paths since download_id is no longer based on file hash instead.

WC_Post_Data::process_product_file_download_paths( int $product_id, int $variation_id, array $downloads )

Update changed downloads.

Description Description

Parameters Parameters


(Required) Product ID.


(Required) Variation ID. Optional product variation identifier.


(Required) Newly set files.

Top ↑

Source Source

File: includes/class-wc-post-data.php

	public static function process_product_file_download_paths( $product_id, $variation_id, $downloads ) {
		wc_deprecated_function( __FUNCTION__, '3.3' );

Top ↑

Changelog Changelog

Version Description
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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