Warning: This method has been deprecated. and moved to post-data class instead.

WC_Admin_Post_Types::process_product_file_download_paths( int $product_id, int $variation_id, array $downloadable_files )

Grant downloadable file access to any newly added files on any existing.


Description Description

orders for this product that have previously been granted downloadable file access.


Parameters Parameters

$product_id

(Required) product identifier.

$variation_id

(Optional) product variation identifier.

$downloadable_files

(Optional) newly set files.


Top ↑

Source Source

File: includes/admin/class-wc-admin-post-types.php

	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 );
	}

Top ↑

Changelog 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.