woocommerce_process_product_file_download_paths, $product->get_id(

woocommerce_process_product_file_download_paths, $product->get_id(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_process_product_file_download_paths, $product->get_id(') is found 1 times:

  • /includes/data-stores/class-wc-product-data-store-cpt.php line 1123
     
    			if ( $product->is_type( ProductType::VARIATION ) ) {
    				do_action( 'woocommerce_process_product_file_download_paths', $product->get_parent_id(), $product->get_id(), $downloads );
    			} else {
    				do_action( 'woocommerce_process_product_file_download_paths', $product->get_id(), 0, $downloads );
    			}
    
    			return $this->update_or_delete_post_meta( $product, '_downloadable_files', wp_slash( $meta_values ) );
    		}
    		return false;
    	}