woocommerce_process_product_file_download_paths action-hookWC 1.0

Usage

add_action( 'woocommerce_process_product_file_download_paths', 'wp_kama_woocommerce_process_product_file_download_paths_action', 10, 3 );

/**
 * Function for `woocommerce_process_product_file_download_paths` action-hook.
 * 
 * @param  $product_parent_id 
 * @param  $product_id        
 * @param  $downloads         
 *
 * @return void
 */
function wp_kama_woocommerce_process_product_file_download_paths_action( $product_parent_id, $product_id, $downloads ){

	// action...
}
$product_parent_id
-
$product_id
-
$downloads
-

Where the hook is called

WC_Product_Data_Store_CPT::update_downloads()
woocommerce_process_product_file_download_paths
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 982
do_action( 'woocommerce_process_product_file_download_paths', $product->get_parent_id(), $product->get_id(), $downloads );
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 984
do_action( 'woocommerce_process_product_file_download_paths', $product->get_id(), 0, $downloads );

Where the hook is used in WooCommerce

Usage not found.