edd_get_download_final_price( int $download_id, array $user_purchase_info, string $amount_override = null )

Retrieves the final price of a downloadable product after purchase this price includes any necessary discounts that were applied


Description Description


Parameters Parameters

$download_id

(Required) ID of the download

$user_purchase_info

(Required) - an array of all information for the payment

$amount_override

(Optional) a custom amount that over rides the 'edd_price' meta, used for variable prices

Default value: null


Top ↑

Return Return

(string) - the price of the download


Top ↑

Source Source

File: includes/download-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.