process_product_file_download_paths() public static method

Update changed downloads.
public static process_product_file_download_paths ( integer $product_id, integer $variation_id, array $downloads )
$product_id integer product identifier
$variation_id integer optional product variation identifier
$downloads array newly set files
 /**
  * Grant downloadable file access to any newly added files on any existing.
  * orders for this product that have previously been granted downloadable file access.
  *
  * @param int $product_id product identifier
  * @param int $variation_id optional product variation identifier
  * @param array $downloadable_files newly set files
  * @deprecated and moved to post-data class.
  */
 public function process_product_file_download_paths($product_id, $variation_id, $downloadable_files)
 {
     WC_Post_Data::process_product_file_download_paths($product_id, $variation_id, $downloadable_files);
 }