is_deliverable() || ! edd_receipt_show_download_files( $item->product_id, $edd_receipt_args, $item ) ) {
return;
}
$download_files = edd_get_download_files( $item->product_id, $item->price_id );
?>
$file ) :
?>
-
product_id The product ID.
* @param int $order->id The order ID.
*/
do_action( 'edd_order_receipt_files', $filekey, $file, $item->product_id, $order->id );
endforeach;
elseif ( edd_is_bundled_product( $item->product_id ) ) :
$bundled_products = edd_get_bundled_products( $item->product_id, $item->price_id );
foreach ( $bundled_products as $bundle_item ) :
?>
-
$file ) :
?>
-
product_id The product ID.
* @param array $bundle_item The array of information about the bundled item.
* @param int $order->id The order ID.
*/
do_action( 'edd_order_receipt_bundle_files', $filekey, $file, $item->product_id, $bundle_item, $order->id );
endforeach;
else :
echo '- ' . esc_html__( 'No downloadable files found for this bundled item.', 'easy-digital-downloads' ) . '
';
endif;
?>
' . esc_html( apply_filters( 'edd_receipt_no_files_found_text', __( 'No downloadable files found.', 'easy-digital-downloads' ), $item->product_id ) ) . '';
endif;
?>