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.
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 ); }
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |