WordPress at Your Fingertips
function is not described

WC_Post_Data::process_product_file_download_paths() public WC 1.0

Deprecated from version 3.3.0 No action is necessary on changes to download paths since download_id is no longer based on file hash.. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Update changed downloads.

{} It's a method of the class: WC_Post_Data{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Post_Data::process_product_file_download_paths( $product_id, $variation_id, $downloads );
$product_id(int) (required)
Product ID.
$variation_id(int) (required)
Variation ID. Optional product variation identifier.
$downloads(array) (required)
Newly set files.

Changelog

Deprecated Since 3.3.0 No action is necessary on changes to download paths since download_id is no longer based on file hash.

Code of WC_Post_Data::process_product_file_download_paths() WC 5.7.0

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